A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Setting Up & Running Reports
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

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



 
 
Thread Tools Display Modes
  #1  
Old May 18th, 2004, 06:06 PM
kim
external usenet poster
 
Posts: n/a
Default how NOT to print page number on 1st page of report

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!!!
  #2  
Old May 18th, 2004, 07:06 PM
Marshall Barton
external usenet poster
 
Posts: n/a
Default how NOT to print page number on 1st page of report

kim wrote:

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
--
Marsh
MVP [MS Access]
  #3  
Old May 19th, 2004, 08:51 PM
external usenet poster
 
Posts: n/a
Default how NOT to print page number on 1st page of report


-----Original Message-----
kim wrote:

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
--
Marsh
MVP [MS Access]
.


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

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 04:55 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.