PASDA logo

Tutorials

Step 4.Click the Open Attribute Table button atable.jpg (5769 bytes) then the Selected buttonselected.jpg (5574 bytes) at the bottom of the attribute table. ArcGIS displays the selected record at the top of the table. By scrolling to the right, you can examine its attributes.

lesson5_5.jpg (61266 bytes)

Click on the Selection Tab at the top of the project and scroll down to Clear Selected Features. This will remove the blue highlight from Larson in the view and the attribute table.

clear_features.jpg (61266 bytes)

Step 5.Next we will perform a query. Right Click on the "Wuds.shp" layer and scroll down to Properties.

lesson5_6.jpg (37265 bytes)

In the Layer Properties box click on the Definition Query tab. Then click on the Query Builder button at the bottom of the Definition Query box.

query_builder.jpg (37265 bytes)

Note: The Query Builder dialog box contains a Fields list of attribute fields (left), a set of operators (center), and a Values list of attribute (right). When you click on a field in the Fields list, all the unique values for that field display in the Values list (if your value is missing - Click Complete List)

To build a query, double-click on an field, single-click on an operator, then double-click on a value. As you build the query, it displays in the query text box in the lower left corner of the dialog box. You can also type your query directly in the query text box. Once you enter the query in the text box, you apply it by selecting OK.

Step 6.We want to select all the water sources that are in Dauphin County. In the Query Builder dialog box, scroll down the Fields list, then double-click on "[facilityped]." Click the"=" button. Then, in the Values list, double-clickon "SPRING." With this query you could select all springs. Click the "and" button, double-click "[County]" in the Fields list, click the "=" button, then double-click "Dauphin" in the Values list.

lesson5_8.jpg (42098 bytes)

Important Note: It is essential that the attributes you select are in the lower box of the Query Builder. If not you will get a syntax error. To amend the error, close the Query Builder and retry the query; be sure to double-click on the fields.

Step 7.Click OK ok.jpg (6606 bytes) to select those water sources that are springs in Dauphin County. ArcGIS highlights them in the table. (You may need to move the Query Builder dialog box so you can see the view).