J. Notes for Users of QUEL : QUEL Notes for the Using 4GL Chapter : Referencing Table Fields
 
Share this page                  
Referencing Table Fields
Assign data to any or all of the columns of the table field with a database language retrieval statement.
The following statement reads data from the projects table into the data set, and then displays the data in the rows of the table field called emptable.
emptable := retrieve (projects.project, 
 projects.hours);
To avoid ambiguity when the table field has the same name as the form, use the form.tablefield format:
emp.emp = retrieve
 (projects.project, projects.hours);