15. Embedded Forms Program Structure : The Display Block : putform and getform Statements—Transfer Data During a Display Loop
 
Share this page                  
putform and getform Statements—Transfer Data During a Display Loop
A forms program must be able to put data into and get data from a field within a display loop. The initialize and finalize statements put and get data, respectively, only as the form display begins and ends. To put or get data at any other time use the putform and getform statements.
These statements have the following syntax:
putform [formname] (fieldname = data {, fieldname = data});
getform [formname] (variable = fieldname
      {, variable = fieldname});
As you can see, these statements correspond closely to the initialize and finalize statements. See Forms Statements, for complete information about these statements.