English

Error: Syntax error (missing operator) in query expression

Error Message

This message is returned during Interactive Selection on Access GeoDatabase:

There was an error executing the query.
General Function Failure [1layer_name]
Syntax error (missing operator) in query expression ‘(1layer_name.OBJECTID =
1layer_name_Shape_Index.IndexedObjectId and MaxGx >= 2 and MinGX <= 2 and MaxGY> = 0 and MinGY <= 0)’.

Cause

You cannot select Personal Geodatabase Access layer features if the name of the layer starts with a number.

Solution or Workaround

Rename the Feature layer to not begin with a number.