23. Sample 4GL Application : Employee Application : Global Objects
 
Share this page                  
Global Objects
The Employees application uses the following global objects:
The global variable "user_name"
This variable is used in the Employees and Positions frames to hold the value returned by the dbmsinfo ('username') function. This value is the name of the current Ingres user, and is inserted into the "last_updated_by" column of the Employees table or the Positions table (depending on the frame).
The record type "choice_line"
This record type has two attributes: "choice" and "explanation." The record type is used by the Confirm procedure to load values into an array.
Even though the record type is used by a single procedure in the application, ABF requires that record types be declared globally.