Set Variable(s) to Object Properties

Description

The Set Variable(s) to Object Properties action retrieves the values of properties of object(s) on a form or browse.

Procedure 

  1. Make a selection in the Get the 'Text' property of object(s) in which window? field. This field will be grayed out unless this action is based on a Form or Browse. The choices are:

    • "Current Form or Browse Window".

    • "Another Form or Browse Window".

  2. If you selected "Another Form or Browse Window", select one of the listed forms or browses.

  3. To the right of the Get properties of the following objects list click the '+' buttons to display a list of controls from the form or browse. Select a control and click OK to add the control to the list.

  4. Select a control in the list and click '-' to remove it.

  5. To the right of the Get the following properties for object list click the '+' buttons to display a list of properties for the object. Select a property and click OK to add the property to the list.

  6. Select a property in the list and click '1' to remove it.

  7. Enter the name you would like to use for the variable in the Store property value in a variable called field.

  8. Select each object in the list and select the variable's scope from the Variable Scope list. There are two options:

    • "Shared" - means that the variable can be used only by other scripts on the window

    • "Global" - means that all scripts can access the variable

  9. Click Next >.

  10. Optionally modify the comment that describes the action.

  11. Click Finish.

See Also