laptop and a wrench

Bogue

The error message, "Invalid Expression" is returned when using Select Layer by Attribute with large query expressions.

Dernière publication: September 22, 2021 ArcGIS Pro
Numéro d’ID de bogue BUG-000141724
EnvoiJuly 27, 2021
Dernière modificationApril 11, 2025
S’applique àArcGIS Pro
Version trouvée2.8
Système d’exploitationWindows OS
Version du système d’exploitation10.0
StatutKnown Limit

Informations supplémentaires

Use the IN clause to shorten the length of the WHERE clause.

Solution de contournement

  1. Open the project in ArcGIS Pro.
  2. Open the Select By Attributes tool.
  3. Under Expression, click the Edit SQL mode button to switch to the SQL mode.
  4. In Expression, in the first line, type the following formula: GLOBALID IN (.
    1. Press Enter twice. 
    2. Copy all the Global IDs and paste them into the Expression box. 
    3. Press Enter twice.
    4. Type ).
  5. The Select By Attributes tool works successfully for all 5000 records and generates complete results.

Étapes pour reproduire

ID de bogue: BUG-000141724

Logiciel:

  • ArcGIS Pro

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement