15. Embedded Forms Program Structure : The Display Block : finalize Statement—Transfer Data at the End of a Display Loop
 
Share this page                  
finalize Statement—Transfer Data at the End of a Display Loop
The display block usually ends with a finalize statement. The primary purpose of this statement is to transfer data from the form's fields into program variables at the end of the display loop.
This statement has the following syntax:
finalize [(variable = fieldname {, variable = fieldname})];
Values from the fieldnames are transferred into the variables. The finalize statement executes when the display loop terminates unless the termination resulted from a breakdisplay statement or a timeout.