13. Building Applications : The Globals Submenu of the Edit an Application Frame : Edit a Global Variable Definition Frame
 
Share this page                  
Edit a Global Variable Definition Frame
From the Edit Global Variables catalog frame, you can modify the definition of a global variable by highlighting the name of the variable and selecting the Edit menu item. You see the Edit a Global Variable Definition frame, shown in the following figure:
This frame contains the following fields:
Name
(Read-only) Displays name of the global variable you entered on the Create a Global Variable frame.
Short Remark
(Optional) Provides a brief description
Type
(Required) Specifies the data type of the global variable. The name of any record type defined for this application or any Ingres type. ABF checks this whenever the value is changed on the form. The data type you enter here determines whether you fill in the Nullable or the Array field next.
If you enter an Ingres data type, you see the Nullable field.
If you enter the name of a record type created for the application, you see the Array field.
Nullable
Indicates whether the global variable is nullable. Only attributes of an Ingres type can also be nullable. Record types cannot be nullable. The default depends on the application query language: "yes" for SQL and "no" for QUEL.
Array
Indicates whether this global variable is a single record or a dynamic array of records. Arrays cannot be composed of Ingres data types.
The following menu operations are available from this frame:
LongRemark
Reads or edits the Long Remark pop-up frame
Print
Prints the definition of the global variable
ListChoices
Displays a list of legal values for the field from which you can choose or a field description
Cancel, Help, End
Perform standard operations