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.

手順:
  1. Start ArcMap.
  2. 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.

  3. Click the Calculated Representations or Calculated Fields tab.
  4. Click the Expression drop-down arrow and choose Edit Expression.

    The Expression Parser dialog box appears.

    Expression Parser with information for calculated representations
  5. Define the VBScript expression for your calculated representation or field.
  6. Click Save.

    The Save As dialog box appears.

  7. Navigate to the directory where you want to save the script.
  8. Type a file name in the File name text box.
  9. Click Save.

    The Expression Parser dialog box appears.

  10. Click OK.

9/16/2010