Need to suppress the last page of a report

S

Super Wife Mom

I have a report which forces a new page each time the section footer is
printed, but I need to suppress the final page because it is always blank.
Is there any way of doing this?
 
M

Marshall Barton

Super said:
I have a report which forces a new page each time the section footer is
printed, but I need to suppress the final page because it is always blank.
Is there any way of doing this?


If you have set the group footer section's ForceNewPage
property to After Section, try setting the group header
section's ForceNewPage proeprty to Before Section instead.

If that interferes with the report header, then add a
PageBreak control *named pgEject) to the top of the group
header section and add a line of code to the group header
section's Format event procedure:

Me.pgEject.Visible = (Me.Page > 1)
 
S

Super Wife Mom

Dear Marshall,

Thanks for this. It worked perfectly!

Regards,
Super Wife Mom
 

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