Creating a VBScript expression

When defining VBScript expressions for dynamic text, you can choose a single field value or an array of values for the selected field.

Étapes :
  1. Start ArcMap.
    ConseilConseil :

    If the ArcMap - Getting Started dialog box appears, you can open a new or existing map document. You can also check the Do not show this dialog box in the future check box and click Open.

  2. Double-click the dynamic text.

    The Dynamic Text Properties dialog box appears.

  3. Click the Dynamic Text tab if necessary.
  4. Click Insert.

    The dynamic text appears in the text box.

  5. Click the dynamic text element in the text field.

    The Dynamic Text Properties dialog box appears.

    Coordinate Dynamic Text Properties dialog box
  6. Click the Expression option in the Text String area.
  7. Click Edit Script.

    The Expression Parser dialog box appears.

    Coordinate Dynamic Text Expression Parser dialog box
  8. Double-click the field value you want to use as the dynamic text.
  9. If necessary, add expressions that format the text and define more complex text strings.
  10. Click Verify.
  11. Fix errors in the script as needed.
  12. Repeat steps 10–11 until there are no errors.
  13. Click OK.

    The Dynamic Text Properties dialog box appears.

  14. Click OK.

9/30/2010