how NOT to print page number on 1st page of report

  • Thread starter Thread starter kim
  • Start date Start date
K

kim

i'm preparing a report with the first page as a cover
using report header. how can i hide page number on this
cover page located in page footer area? also, how can i
start page number from zero [0] or using some other
method, so that my 2nd page of report is actually count as
page 1?

thanks much for any assistance in advance!!!
 
kim said:
i'm preparing a report with the first page as a cover
using report header. how can i hide page number on this
cover page located in page footer area? also, how can i
start page number from zero [0] or using some other
method, so that my 2nd page of report is actually count as
page 1?


You can use a little code in the page footer's Format event
to make the page number text box invisible in the first
page:

Me.txtPageNum.Visible = (Me.Page > 1)

The page number text box can use an expression to subtract
one from the page number so it will appear as though it's
not couunting the first page:

=Page - 1
 
-----Original Message-----
kim said:
i'm preparing a report with the first page as a cover
using report header. how can i hide page number on this
cover page located in page footer area? also, how can i
start page number from zero [0] or using some other
method, so that my 2nd page of report is actually count as
page 1?


You can use a little code in the page footer's Format event
to make the page number text box invisible in the first
page:

Me.txtPageNum.Visible = (Me.Page > 1)

The page number text box can use an expression to subtract
one from the page number so it will appear as though it's
not couunting the first page:

=Page - 1

thank you very much, marsh! it worked...
 
Back
Top