Using Resume Statements in Escape Code
When you use a resume (or resume field, resume next, resume nextfield, or resume previousfield) statement in your escape code, control of the application leaves the escape code block and returns to the 4GL source code that called the escape code. Any 4GL statements that follow the resume statement in the source code file are skipped when the application is running.
The escape types listed below are the only ones that are not followed by Vision-generated 4GL statements in the source code files for the frames in which they are included:
• Query-New-Data
• Before-Field-Entry
• After-Field-Exit
• Menuline-Menuitem
If you use a resume statement with other escape code types to skip 4GL statements deliberately, check the generated code to make sure control occurs as desired. If not using a resume statement, position the cursor on a particular field simply by editing the form and changing the order of the fields.