Page Header controls (1 Viewer)

bbulla

I'd rather be golfing
Local time
Yesterday, 19:22
Joined
Feb 11, 2005
Messages
101
Hi,

I have a label (lblDate) in the page header that I want to be visible on all pages, except for the last page.

I have tried lblDate.Visible = Not (Me.Page = Me.Pages) in the PageHeader_Print section, and a few other things, but nothing seems to work.

Any other ideas?
 

Mr. B

"Doctor Access"
Local time
Yesterday, 18:22
Joined
May 20, 2009
Messages
1,932
Try using your code in the On Format event of the header of the report.
 

bbulla

I'd rather be golfing
Local time
Yesterday, 19:22
Joined
Feb 11, 2005
Messages
101
Hi Mr. B.

Yes, I tried that also but it doesn't seem to work either. The label is still visible.
 

Users who are viewing this thread

Top Bottom