EODEXIT |
DEVELOPER |
|
|
Purpose |
EODEXIT is used to save the current record after validation. |
Syntax |
EODEXIT{VALIDATE} |
Operation |
VALIDATE is a reserved word, similar to TRUE and FALSE. It translates to the value 99. |
Remarks |
EODEXIT(VALIDATE) is designed to overcome the programming difficulties associated with the PROIV Timing Cycle and GUI screens where users have the ability to visit fields in a random order and to exit from any field. Using the option VALIDATE will cause the EOD processing to traverse the Timing Cycle as if EOD had been pressed on the keyboard, with the addition of before field logic. Whenever EODEXIT(VALIDATE) is executed before or in the Last Read Field, the EODEXIT(VALIDATE) is treated as a CANCEL. Any Must Input fields become irrelevant if no file write occur. It is important to note that when you use EODEXIT(VALIDATE) with a SQL database and the current field does not contain data,the EODEXIT(VALIDATE) does not to write the data if an LSEXIT is called before the end of the cycle. However, you can put the LSEXIT in the On Focus of the first field of the cycle to avoid this scenario.
|
Example |
|
Topic ID: 520054