1

Has anyone had this happen to them? I'm running Select By Attributes on a feature class to select shape area less than 300, but only a fraction of the records that match the query are being selected.

This screenshot is after the query has been run. I've verified the selection is New Selection and not Reselect from a previous selection. The table is sorted on Shape_Area. It's clear that 20 of 24 visible rows should be selected, but only 13 actually are. I've pressed [refresh table] at bottom right after running the query. There are no joins and no pending edits. I've replicated these bad results several times, but all in this same session (I haven't yet tried closing Pro and trying again).

The table is a polygon feature class in a file geodatabase. ArcGIS Pro 2.8.1.

image of showing onlyt 14 of 20 matching records are selected

1

1 Answer 1

4

Wow. This one is subtle. It's not a bug, exactly, but it sure as heck isn't not-a-bug either.

Prior to the state above I had selected a polygon and used the Explode editing tool. Although I had finished with the tool it was not deactivated. There was no visual indication in the attribute table panel that the edit tool was still active and filtering records non-visually.

Said another way: the table panel was still showing me all records, but the allowable set of records that could be operated on were filtered by the still-active Explode tool, which meant that the Select By Attributes tool only saw the subset left exposed by Explode.

The fix was to deactivate the editing tool by using the back button in the tool panel and then use Select by Attributes again.

button to deactivate active edit tool

How did I figure this out?

Later, when I toggled OFF the layer's editability a temporary notification appeared saying "Active Edit tool is filtering the selection. Deactivate tool to restore the selection". At this point I remembered seeing the notification 15 or so minutes earlier when I started editing.

So the bug here if there is one is that the notification is temporary. Or that it shows at the wrong time. Or that the table panel does not have an indicator of the filtered record status. Or all of the proceeding.

See Esri's page on "active tool is filtering the selection" for more info.

Esri doc page

1
  • 2
    Thanks for the heads up! I would have probably thrown the monitor at the wall in a tantrum 😁! Then demanded ice cream.
    – Hornbydd
    Jun 29, 2021 at 23:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.