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

Identifying Page numbers and using in formula

Status
Not open for further replies.

MattDavies51

Programmer
Joined
Oct 13, 2002
Messages
24
Location
GB
I have a 2 page report, but I want dynamic page headings. So on page 1 to have a heading called 'Initial' and on page 2 for this heading to be called 'Subsequent'.

Is there a function I can use to identify the Page number?

Thanks in advance for any help.

 
pagenumber

If pagenumber = 1 then "Initial" else
If pagenumber = 2 then "Subsequent"





Reebo
UK
 

Thanks Reebo for your quick response.

Matt
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top