Accessing cursor data returns: Parser error: syntax error

Last Published: April 25, 2020

Solution or Workaround

When attempting to access data using a cursor, the following messages appear:

Parser error: syntax error
Program variable parse syntax error
AML ERROR - Undefined variable: :cursorname.itemname


The cursor name starts with a number or special character.


Change the name of your cursor so that it starts with an alphabetic character.

Article ID:000001462

  • Legacy Products

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Discover more on this topic