Before creating a new domain, check whether a domain that defines the same value range already exists. In this case you must use the existing domain if possible.
A dialog box appears.
The maintenance screen for the domain appears.
For example, you can find the domain at a later time using this short text.
Some data types have a fixed length. For example, the data type CLNT (client) always has 3 places. If you enter an invalid number of places for such a data type, the system corrects this automatically after issuing a warning.
For more information, see Output Styles .
You can also define a value table as proposed value for foreign key checks on this tab page.
The system asks you to assign the domain to a package.
The domain is activated. You can find information about the activation flow in the activation log, which you can call with Utilities → Activation log. If errors occur when you activate the domain, the system automatically displays the activation log.
You can create technical documentation about the domain by choosing Goto → Documentation.
The value for the output length (maximum field length including editing characters such as comma and period) is automatically computed from the definitions for the data type, the number of places and the number of decimal places. If fields that refer to this domain must be output on the screen or in lists with only a certain length, you can reduce this size.
If you want to distinguish uppercase and lowercase for the fields referring to this domain, you must select the Lower Case indicator on the Definition tab page. Otherwise, all the entered letters are converted to uppercase in the database. You can make entries for this field only in data types CHAR and LCHR.
If field values have to be converted during input or output, you can define a conversion routine .
You can use the am/pm time format only for the data type TIMS.
If fields that refer to this domain can contain negative values, you must set the Sign indicator. When the field contents are output to the screen, the first output location is reserved for a sign. If the indicator is not set but the field contains negative values, problems may occur when they are output on the screen. You can make entries in this field only for data types DEC, FLTP, QUAN and CURR.