Equinox Online Help - Language Reference - A to Z

Home

ResetApplication

Applies to
SyntaxResetApplication
Action[Statement] Clears the application corrupt flag.
ScopeUsable anywhere.
Notes

When Equinox detects that it has previously been terminated abnormally, it brings up a dialog to say so and continues to do so until the system option to optimise open databases is selected. This command has the same effect as the user option.

CategoryDatabases
See Also ApplicationClosed, ChangeLinkage, FlushAllDatabases
Example

This example checks to see if the application was closed correctly and if it terminated abnormally, resets the flag indicating corruption and attempts to run an optimisation on all of its databases.

if ApplicationClosed then
Execute VerifyAllDatabases
ResetApplication
end if