1.2.6 Default Value
Specify the default value for a field. This value is used as defaults on screens, reports and fields in a function.
If no default value is specified, the field defaults to *BLANKS (blanks) for character fields, *ZERO (zero) for numeric fields and *NULL (null value) for other fields.
Rules
Allowable values include:
- system variable such as *BLANKS, *ZERO, *DATE,*NULL or any other variables specifically defined at your installation.
- alpha literal (in quotes) such as 'NSW', 'BALMAIN' or 'Australia'.
- numeric literal such as 1, 10.43, -1.341217
Additional rules:
- Refer to 1.1 Field Types.
- Cannot be entered if a 1.2.7 Reference Field has been specified.
Warnings
- Refer to 1.1 Field Types.
Tips & Techniques
- Refer to 1.1 Field Types.
Platform Considerations
- Refer to 1.1 Field Types.
Also See