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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

page breaks

Status
Not open for further replies.

todder

Programmer
Jul 16, 2001
29
US
I have a report with 2 groups: one on a Region code and within that, a grouping on Officer code. I would like a page break before every Region group. I also would like a page break before every Officer Group except for the first Officer group in each Region group.

I am able to do this by enabling the "New Page Before" check box in the Region group header and entering the following formula into "New Page Before" in the Officer group header:

Code:
previous({TABLE.REG_CD}) = next({TABLE.REG_CD})

The method works well except in cases where the detail lines in the first Officer group within the region group fill up more than one page. In that case the Region group header displays and then the Officer group header displays on the following page instead.

Any insights?

Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top