Progress
Language Reference
RETRY Function
Returns a TRUE value if the current block is being reprocessed after a previous UNDO, RETRY.
SYNTAX
EXAMPLE
This procedure bypasses the display of the customer data when the REPEAT block is retried (if user changes the customer data and does not specify a country). When you run this procedure, notice that even though the procedure has undone any data that you entered (if you did not specify a country), the data still appears in the window. The data is saved in the window buffers, but it is not stored in the customer record buffer. If you do not use the RETRY function, Progress reprocesses the DISPLAY statement and display the previous values for the customer fields, overwriting the data that was entered in error.
NOTES
- Using the RETRY function in a block turns off the default error processing, which result in no infinite loop protection for the block.
- For more information on retry processing, see the Progress Programming Handbook .
SEE ALSO
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |