English

How To: Set a variable to the number of selected records in ArcPlot

Procedure

Question

How can a variable be used to store the current number of selected records in ArcPlot?

Answer

The following line will set a variable to the number of selected records:

&SETVAR X = [EXTRACT 1 [SHOW SELECT <COVERAGE> <COVERAGE_TYPE>]]

Example:

&SETVAR X = [EXTRACT 1 [SHOW SELECT LANDUSE POLY]]

Note:
SHOW SELECT only works on individual coverages or INFO files. It does not work on librarian layers or ArcStorm layers.