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".
(missing or bad snippet)(missing or bad snippet)AppPgNbr = App.PageNo
app.PageNo as Long
(missing or bad snippet)
If App.PageNo = 1 Then App.ExitForm Else Form.Backup
Version Supported: RFgen 5.1 and newer.