Numeric and Numeric Range Domains are static list of numeric values that can be used with the following types
AMOUNT
DECIMAL
DURATION
FLOAT
INTEGER
SMALLINT
Lookups cannot be used with Numeric Range domains
Using these domains are similar to using ALN domains.
Procedure:
1. a) Numeric Domains:
In domains application, click Add New Domain and select Numeric Domain.
In this domain add the desired numeric values. e.g. If you want the user to enter only 1 or 3
Numeric Domains can conditionally show values. Please refer to Domains: Conditionally displaying domain values
1. a) Numeric Range Domains:
In domains application, click Add New Domain and select Numeric Range Domain.
In this dialog select the scale as interval separator.Range Segment is just an identifier.
Range Minimum is the minimum value allowed
Range Maximum is the maximum value allowed
Interval is the gap between values.
As per the values shown in above dialog. It will only accept values in the following sequence
Add it to the attribute
2. Configure DB:
Open the object and add this domain to the required attribute. e.g.
3. Application Designer
Open your desired application,
a) Numeric Domains: Against the text box you wish to allow lookup enter your “valuelist”. This will allow the user to select from a list of values.
b) Numeric Range Domains: Lookups are not supported for these domains. However, the domain will give error if a user entered a value which is not in range.
e.g 27 will be acceptable but 31 will throw error