I. EQUEL/FORMS Examples : Initialize
 
Share this page                  
Initialize
Initializes form fields.
Examples--initialize statement:
Example 1:
This example loads data into a form at the start of its display block:
## initialize (name = vname, sal = vsal)
Example 2:
This example loads data into a form and displays a message:
## initialize (ename = "sally", sal = 30000.00)
## {
##   message "you can begin editing data."
##   sleep 2
## }
Example 3:
This example illustrates the use of a null indicator variables with a nullable field:
## initialize (spouse = spouse_var:null_indicator)