Updating definition query sets

Once the definition query sets are created, they can be updated as necessary. This includes the ability to only update selected feature layers with the modified definition queries.

步骤:
  1. Start ArcMap.
    提示提示:

    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. On the main menu, click Customize > Toolbars > Customize.

    The Customize dialog box appears.

  3. Click the Commands tab. In the Categories list, choose Production Cartography.
  4. In the Commands list, choose Feature Display Settings.
  5. Drag the Feature Display Settings command onto any toolbar.
  6. Click the Feature Display Settings button Feature Display Settings.

    The Feature Display Settings dialog box appears.

    Feature Display Settings dialog box
  7. If necessary, click the Definition Queries tab.
  8. Click the DefQuery Sets drop-down arrow and choose the definition query set you want to update.
  9. Click Load.
    注意注意:

    Once the query set has loaded, layers in the Feature Layers list change color from black to blue if their feature layer definition query will be updated.

  10. In the Feature Layers list, click a feature layer for which you want to change the definition query.
    注意注意:

    Checking the check box next to the feature layer will not select it.

  11. Change the query as necessary.
  12. Click Save.

    A message appears notifying you that the definition queries you want to save have not been applied to the map or verified.

  13. Click Yes to continue with the saving process.

    A message appears asking if you want to overwrite the existing definition query set.

  14. Click Yes.

    The Definition Queries dialog box appears.

  15. If necessary, change the description in the Edit the query set description (if necessary) text box.
  16. Click one of the following: Update or Keep original.
    • Update replaces the original description with the modified one.
    • Keep original keeps the original query set description.

    The Saving Query Set dialog box appears.

    Saving Query Set dialog box
  17. Check the check boxes next to the layers that have had their definition queries updated in the Saving Query Set dialog box to determine which definition queries you want to append to (or change) in the existing definition query set.
    注意注意:

    You must check the check boxes for all feature layers for which you want definition queries saved.

  18. Click OK.

    The Definition Queries tab appears. All the feature layers that have been updated now appear in bold, blue text.

  19. Click the Close button Close to close the Feature Display Settings dialog box.

9/30/2010