Saving a VBScript expression for later use
The VBScript expressions you create can be saved and recalled for use with other calculated representation or calculated field rules.
Steps:
- Start ArcMap.
- If necessary, load data in the map.
-
Right-click the layer in the table of contents for which you want to create calculated representations or calculated fields and click Properties.
The Layer Properties dialog box appears.
- Click the Calculated Representations or Calculated Fields tab.
-
Click the Expression drop-down arrow and choose Edit Expression.
The Expression Parser dialog box appears.
- Define the VBScript expression for your calculated representation or field.
-
Click Save.
The Save As dialog box appears.
- Navigate to the directory where you want to save the script.
- Type a file name in the File name text box.
-
Click Save.
The Expression Parser dialog box appears.
- Click OK.
7/31/2012