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

Problem showing Page Footer in MS-Access 2000

Status
Not open for further replies.

mtho

Programmer
Aug 26, 2003
1
AU
I am developing a report in MS-Access 2000, where I have a label that should appear only on the last page. So I have written the following code in the PageFooter OnPrint Event.

Private Sub PageFooterSection_Print(Cancel As Integer, PrintCount As Integer)
If [Page] = [Pages] Then
LabelName.Visible = True
End If
End Sub

In the Report Preview, the label appears only on the last page(as expected) but when I print it, it prints on all pages.

Any help is appreciated
 
have a look at thread703-585493

Hope this helps
Hymn
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top