DdsDataField.Compare Property

Gets or sets the relational operator and value used to validate user data input for the field.

Syntax

BegProp Compare Access(*Public) Type(*String)
   BegGet;  BegSet

Property Values

String containing the relational operator and value used to validate user data input.

Remarks

Relational operators are:

  • < for less than.

  • <= for less than or equal to.

  • > for greater than.

  • >= for greater than or equal to.

  • = for equal.

  • <> for unequal.

  • RANGE to validate that the value falls between a preset minimum and maximum value (inclusive).

The format for the property for all operators other than RANGE is:
Operator value

When using RANGE the format is:
RANGE from-value to-value

To set this property at design-time, click to the right of the property and enter the relational operator and value to use in the comparison operation. For example, to ensure the user enters a customer number of greater than or equal to 1000, enter >= 1000 as shown in the example below.

Requirements

Namespace: ASNA.Monarch.WebDspF

Assembly: ASNA.Monarch.WebDspF.DLL

Platforms: Windows Server 2012, Windows Server 2012 R2, Windows Server 2016, Windows 7, Windows 8 Pro, Windows 10 Pro