Fields

To distinguish fields from other resources in scripts, avoid using underscores in field names. Other resource types can be easily identified by the underscores in their names.

Invisible fields

Invisible fields are typically used to hold a temporary value in a window. Many invisible fields have scripts attached to them, allowing other window scripts to use the run script statement to access the invisible field’s script. However, a more appropriate method for accessing a script for a form is through form procedures.

Distinguish these fields in the layout window by selecting the following field properties:

[spacer]

Editable

False

Visible

False

BackColor

Yellow if the field has a script attached. Magenta if the field has no script attached.



Documentation Feedback