13. Building Applications : The Globals Submenu of the Edit an Application Frame : The Create an Application Constant Frame
 
Share this page                  
The Create an Application Constant Frame
To create an application constant, select Create from the Edit Application Constants frame. The Create an Application Constant pop-up frame appears, as shown in the following figure. This frame is identical to the Create a Global Variable frame, except that this frame has an additional Value field.
This frame has the following fields:
Constant Name
(Required) Specifies a name that follows the standard naming conventions and is not the name of another constant, global variable, frame, record type, or procedure. The first requirements are validated on the form; the other is verified when you select OK.
Short Remark
(Optional) Provides a brief description
Type
(Required) Specifies the data type of the constant. Valid types for constants are decimal, integer, float, char, varchar, and smallint. ABF does not support Null constants. The field is blank when you enter the frame.
Value
(Required) Specifies a constant value that agrees with the type in the Type field. For example, "xyz" is not a valid value for an integer constant. The field is blank when you enter the frame. The maximum constant value is displayed underlined on three lines.
This frame has the following available menu operations:
OK
Creates the new constant
Cancel
Cancels the creation and return to the previous frame
ListChoices
Displays a list of legal values for the field from which you can choose or field data specifications
Help
Displays help for this frame