Hiding page header when group header visible

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
 
M

Marshall Barton

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top