Stops the execution of all scripts, closes all windows (without executing the scripts for the Close events), commits and disconnects from the database, restarts the application, and executes the application-level script for the Open event.
Restart ( )
Integer. Returns 1 if it succeeds and -1 if it fails. The return value is usually not used.
You can use Restart in the application-level script for the Idle event to restart the application after a period of user inactivity, a typical behavior of kiosk applications.
In the application-level script for the Idle event, this statement restarts the application:
Restart()