Hiding page header when group header visible

  • Thread starter Thread starter Sam D
  • Start date Start date
S

Sam D

Hi and thanks for reading/responding...

I'm working on an upgrade of an Access 2000 application...

I'm using the format event for the group header and group footer to make the
page header visible and not visible respectively (Initially the page
header's visible property is false). I've done this routinely many times
over the years and thought it worked perfectly, HOWEVER...

In this application all reports are first previewed (and the preview is
perfect), however when printed (from this preview window) the page header
sometimes appears on the first page. After some investigation I discover
this occurs when the last page previewed does not contain the group footer
(ie. the page header's visible property would still be true).

My thought is to find an event that fires immediately after the print
command when a report is currently being previewed. But I can't seem to find
such an event!!!!

Any suggestions....

Sam
 
Sam said:
I'm working on an upgrade of an Access 2000 application...

I'm using the format event for the group header and group footer to make the
page header visible and not visible respectively (Initially the page
header's visible property is false). I've done this routinely many times
over the years and thought it worked perfectly, HOWEVER...

In this application all reports are first previewed (and the preview is
perfect), however when printed (from this preview window) the page header
sometimes appears on the first page. After some investigation I discover
this occurs when the last page previewed does not contain the group footer
(ie. the page header's visible property would still be true).

My thought is to find an event that fires immediately after the print
command when a report is currently being previewed. But I can't seem to find
such an event!!!!


How about the report footer's format event?
 
Back
Top