PageNo

App.PageNo returns the page number (the value assigned to the "(PageNo)" property) of the active page. If the form does not have any pages, it returns "0".

Group: Application-Based Extension


Syntax: AppPgNbr = App.PageNo

app.PageNo as Long

 

Example:

If App.PageNo = 1 Then App.ExitForm Else Form.Backup

Version Supported:      RFgen 5.1 and newer.