Variables dialog box

Use this dialog box to create, copy, edit, or delete variables.

Forms use variables to communicate between themselves, and to save environment information across form executions. Some variables are temporary, but persistent variables are loaded to and from disk. Variables can be global or associated with a particular form. You can use variables for many purposes, including binding them to components and controlling the initial action of a form.

To open this dialog box, perform one of these actions while in Design Mode:

  • From the Edit menu, select Variable .
  • Right-click in a form (not on a component), and from the context menu, select Variable .

About the display

This dialog box:

  • Lists all the global and form variables associated with the current form, indicating whether each is a global or form-level variable.
  • Indicates whether each variable is persistent or temporary.
Note: 
  • The dialog box also indicates whether each variable is defined for the base form or the extended form. For more information, see About Creating New Forms by Extension.
  • Variable defined for the base form are grayed out, indicating that they are not available for editing on this form. To edit the variable for the extended form, select it and click Edit . In the Variable Properties dialog box, first set the From Base Form property to False , and then you can edit it like any other variable. This causes the variable to be associated with the extended form.