Chapter 6
|
Debugging, analyzing, and optimizing files 57
Monitoring fields, variables, and calculations
You can use the Data Viewer to monitor expressions like field values,
local and global variables, and calculations. You can monitor
expressions while running scripts or while testing them in the Script
Debugger. You can also monitor field values and variables in the
database file.
To monitor fields, variables, and calculations:
1. Choose Tools menu > Data Viewer, or click in the Script
Debugger window.
2. Do the following:
3. In the Edit Expression dialog box, select the database file
containing the expression, then build or edit the expression you want
to monitor.
4. Click Evaluate Now to display the results of an expression, or click
Monitor to add the expression to the Data Viewer.
5. In the Data Viewer window, click Refresh Values to refresh the
calculations in the list.
To Do this
Add an expression Click .
Edit an expression Click or double-click the expression in the list.
Duplicate an expression Select one or more expressions, then click .
Delete an expression Select one or more expressions, then click .
Drag an arrow up
or down to change
the order
Select mathematical
and text operators
Choose field
references
Expression
box
Select comparison
and logical operators
Choose the way functions
are listed in the dialog box
Select functions
Evaluate the contents
of the expression
Add the expression
to the Data Viewer
Results of the
expression