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

Identifying the page break in a form

Status
Not open for further replies.

gareth001

Technical User
Feb 4, 2003
43
GB
Hi,

I'm trying to work out what page a form currently is on, I have two page breaks, so three pages and I want to be able to turn the Enabled property of a button off and on depending on the page being displayed.

Thanks in advance

Gareth
 


I believe what you need is...

Code:
pageNumber = Me.Page

I hope this helps.

[thumbsup2]

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top