Logical expressions for Text UI forms

The following table summarizes the special considerations for logical expressions in relation to Text UI forms.

Table 1. Elementary logical expressions
First operand Comparison Operator Second operand
textField. The name of a field in a text form. One of these:
  • is
  • not
One of these:
  • blanks. Keyword for testing whether the value of the text field is or is not limited to blanks or null values.
    The test for blanks is based on the user's last input to the form, not on the current contents of the form field; and a test that uses is is true in these cases:
    • The user's last input was blanks or null values.
    • The user entered no data in the field since the start of the program or since a set form initial statement.
  • cursor. Keyword for testing whether the user left the cursor in the specified text field.
  • data. Keyword for testing whether data other than blanks or nulls is in the specified text field.
  • modified. Keyword for testing whether the field's modified data tag is set, as described in Modified data tag and modified property.
  • numeric. Keyword for testing whether the value of a CHAR or MBCHAR field is numeric.
converseVar.eventKey One of these:
  • is
  • not
For possible event key values, see eventKey.


Feedback