Page footer to print on the 1st page only (1 Viewer)

sponsoraw

Registered User.
Local time
Today, 12:15
Joined
Jan 21, 2013
Messages
25
Hi guys, I know that question was asked before, but the answers I've seen didn't worked for me.

I've used the following code on the footer on print procedure:
Private Sub PageFooterSection_Print(Cancel As Integer, PrintCount As Integer)
Me.PageFooterSection.Visible = (Me.[Page] = 1)
End Sub

This works fine when you view it in print preview, but the footer don't show up at all when you actually print it.

The reports default view itself is set print preview.

Any ideas?
Thanks
Adrian
 

billmeye

Access Aficionado
Local time
Today, 07:15
Joined
Feb 20, 2010
Messages
542
Try:

If Me.Page > 1 Then Me.PageFooterSection.visible = False
 

sponsoraw

Registered User.
Local time
Today, 12:15
Joined
Jan 21, 2013
Messages
25
Try:

If Me.Page > 1 Then Me.PageFooterSection.visible = False

Thanks for your suggestion. It does work on the print preview only. Once printed the footer is not showing at all.

HELP
 

billmeye

Access Aficionado
Local time
Today, 07:15
Joined
Feb 20, 2010
Messages
542
have you tried putting the code in the On Format event?
 

Users who are viewing this thread

Top Bottom