Conditional Page Header

sjr1917

Registered User.
Local time
Yesterday, 18:28
Joined
Dec 11, 2012
Messages
47
The Report prints Contributions by a single donor within a date range.

It has an "Addressee header", grouping on DonorID that displays the company's address block, the Donor's address block, and then column descriptors.
The detail section prints below that.

On all pages after page one the address header doesn't display (which is proper), but I wanted to have instead: "Donations for [donor] from [date-start] through [date-end] - continued" and then the column descriptors. I found this code that works perfectly:
Me.PageHeaderSection.Visible = Not (Me.Page = 1)

Dilemma:
Using the same report scheme to print individual reports for ALL donors. I need to turn this PageHeaderSection visibility off and on based on whether the report is on page > 1 for the current donor, rather than based on the entire report's page number.

Where would I set the code to say "this is a new donor... we're on page 1 again"?
 

Users who are viewing this thread

Back
Top Bottom