RESUME, RESUME NEXT
Resumes program execution at the statement that caused the error.
Resumes execution with the statement immediately following the one that caused the error.
Specifies a label in the code. The command line following the label is the next statement executed.
RESUME is used at the end of an error-handling routine to resume program execution.
This script will attempt to open several forms. If a form does not exist, the run-time error will cause the missing_form error handler to be run. After an error, execution will continue at the next statement.
on error goto missing_form :form.view("customer") :form.view("invoices") :form.view("payments") end missing_form: resume next