You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

[ |../../index.htm#lansa/l4wtgu01_0155.htm]
You are here:

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:

Warnings

Tips & Techniques

Platform Considerations

Also See
General Variables
[ |../../index.htm#lansa/l4wtgu01_0155.htm]

  • No labels