Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Me.Group1Header.ForceNewPage=1 except for first page?

Status
Not open for further replies.

Bresart

Programmer
Feb 14, 2007
314
ES
Hi, i have a report with a Report Header and a Page Header. The code in the format event of the report first group is:

Me.Group1Header.ForceNewPage = 1

because each different group 1 has to appear in a new page. But the first page appears empty.

The Force New Page property of the Report Header is set to None.

Is it possible to force new page for each group1 header except for the first one, avoiding the empty first page?

Thanks for looking.
 
Can you display the group footer (even if very small) and set the force new page to after of this section?

Duane MS Access MVP
Now help me support United Cerebral Palsy
 
Thanks dhookom.

It avoids the problem of first empty page, but adds a blank page at the end of the report.
 
Why are you doing any of this with code? If you set the group header's Force New Page to "Before Section", the first group section will normally print on the first page.

Duane MS Access MVP
Now help me support United Cerebral Palsy
 
I have solved that by decreasing the page number that this report sets for the index.

Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top