Previous Topic: CLOSE StatementNext Topic: CLOSE Statement for Errors


CLOSE Statement for Logically Related Boxes

--- EVENT ACTION journal_pb_exit_and_clear_click |    SET LAST OF export_journal TO 0 |    CLOSE Dialog Box journal_posting |    CLOSE Dialog Box in_balance |    CLOSE Dialog Box balance  --- CLOSE Dialog Box journal_entries

Note: Be careful of CLOSE events that use CLOSE actions triggering other CLOSE events. They may cause loops and unexpected results.

The code shown in next section demonstrates how a CLOSE can be used to close a window or dialog box if an error occurs.