Changing Properties

To set or get characteristics of an object, or to determine the state of an object, you must access its properties through dot notation syntax. Follow the reference to the object with a period, followed by the property, and assign it a value. The format is generally as follows:

Object.Property = Value

The following example hides the field &MYFIELD:

&MYFIELD.Visible = False

You can return information about an object by returning the value of one of its properties. In the following example, &X is a variable that is assigned the value found in the field &MYFIELD:

&X = &MYFIELD.Value

In the following example, a property is used as the test for a condition:

If &ROWSET.ActiveRowCount <> &I Then