Querying an AccuMap Database

Query an AccuMap database. Query results can be pushed into a DataCard, displayed on the map, saved to a list, or saved to a list and displayed on the map in one step.

To query an AccuMap database

  1. Using the Data tab in the Ribbon, click Query ().

The Query dialog box appears.

  1. From the Find All drop-down list, select an AccuMap database (Facilities, Fields, Land, etc.) to query. Where you aren't licensed to a database, a padlock appears to the left of the database name ().

A query can only pertain to one database.

  1. Using the Attribute Selector pane, which appears below the Find All drop-down list, click > to expand the Region group and select whether to constrain the query to only items that appear in a list, annotation, the current map extents, an old-style AccuMap region file with a .rgn file extension, or a user layer. All of the items that appear in a list can also be excluded from the query so that every item except the items appearing in a list are queried.

A query string must contain a Region, which causes the query to search within a list, the current map extents, map annotation layers, or region files with a .rgn file extension, or user layers.

  1. Expand the data groups to select a data field with which to query. Limit the data fields that appear in the pane by typing the adjacent letters that appear anywhere in the desired data field using the Filter Data Fields pane as depicted below.

The Criteria Selector pane to the right of the Attribute Selector pane is populated by controls with which you construct the query. The type of controls that appear in the Attribute Selector pane depend on the type of data that's stored in the data field that's selected in the Attribute Selector pane. For example, data fields that are associated with a calendar date include a mini calendar control. Data fields that include free-form text include a text box in which you type the adjacent letters that appear anywhere in the desired term. Data Fields that rely on a specific value from the database enable you to select results to add to the query directly from the database. For details, see Looking up Formation Names in the Related Topics below.
For definitions of the numerical operators (=, <=, etc.) see Related Topics below. For text strings you can type commas between multiple terms as an AND operand (where all terms must be found in order for a match to be made), or select the Convert commas to Or terms check box so that even a single term can produce a match.

  1. Build the query string using the controls that appear in the Attribute Selector pane and then click one of the following:
  1. Click Run Query.

The Query Results for... dialog box appears.

  1. Click Set Map Symbol to display the Layer Style for dialog box where you specify the display properties to apply to the line, point, or region that matches the query on the map, and then click OK to return to the Query Results for dialog box. For details, see Changing Map Layer Display Properties in the Related Topics below.

  1. Select whether to redraw the map before displaying the query results on the map.
  2. Using the Query Results for... dialog box, select from the following options:

When the query is run, the Run Query button is re-labelled Query Results and a drop-down button appears on the right of the button that you click to Rerun the query if the query string has not changed.

Related Topics Link IconRelated Topics