J
Jack Peacock
I have some reports with complex totaling calculations which are performed
in the format event for group footers. I have created corresponding group
footer retreat event procedures to back out the totalling if the format
event is triggered more than once.
However when I run the report I see the group footer format called twice
when it occurs at the end/top of a page (as expected) but the retreat event
routine is not called after either format event. I verified this by placing
breakpoints in the format and retreat routines at the beginning. I see two
format breakpoints, no retreat breakpoints. I verified the retreat
procedure shows in the footer properties.
The environment is Access XP SP2 running on Windows XP SP1. In reading the
Access help on reports it seems to imply a Retreat event exists solely to
handle multiple format events when the section has to be moved from the end
of a page to the top of the next page. Is there some reason it doesn't
appear to be working? I've searched Technet but didn't find anything on
retreat events. I see this behavior in several reports.
Jack Peacock
in the format event for group footers. I have created corresponding group
footer retreat event procedures to back out the totalling if the format
event is triggered more than once.
However when I run the report I see the group footer format called twice
when it occurs at the end/top of a page (as expected) but the retreat event
routine is not called after either format event. I verified this by placing
breakpoints in the format and retreat routines at the beginning. I see two
format breakpoints, no retreat breakpoints. I verified the retreat
procedure shows in the footer properties.
The environment is Access XP SP2 running on Windows XP SP1. In reading the
Access help on reports it seems to imply a Retreat event exists solely to
handle multiple format events when the section has to be moved from the end
of a page to the top of the next page. Is there some reason it doesn't
appear to be working? I've searched Technet but didn't find anything on
retreat events. I see this behavior in several reports.
Jack Peacock