In this example, when you choose File>>Open and select the PROCESS RESERVATIONS Control procedure, DataEase displays the Data-entry form, then the MEMBERS form. You can then enter records in the MEMBERS form using the standard DataEase record entry procedures. Each time you choose Edit>>Form Clear, DataEase displays a new blank record, just as in normal record entry.
When you finish entering records and close the MEMBERS form, DataEase executes each command in the Control procedure until the end of the RESERVATION INVOICES procedure is reached.
When the Control procedure is completed, DataEase automatically returns to the form or menu from which the procedure was originally called.
The sample scripts included in this chapter are designed to illustrate many of the advanced capabilities of the DataEase Query Language. There may be more efficient and effective ways of achieving the same ends through the use of a well-placed derivation formula or in a Client-server environment. Some alternate solutions are presented in the next chapter.