CanAdvance

This function can be used to determine if the user proceed to the next prompt by checking if there is another prompt to move to, or if the user is at the last prompt. For example, if the user is on a the last prompt on a form there isn't any other prompt to move forward to, then the value will return false. If there is a prompt to move forward to, then the return is True.

Group: Application-Based Extension


Syntax:

App.CanAdvance( )

Example:

Private Sub TextBox1_GotFocus(ByRef Rsp As String, ByRef AllowChange As Boolean)

On Error Resume Next

Dim bool As Boolean

bool = App.CanAdvance

App.MsgBox "Can.Advance returns "& bool

bool = App.CanBackup

App.MsgBox "Can.Backup returns "& bool

End Sub

 

Versions Supported:    RFgen 5.2.4.2 and newer.