ERROR

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

Cause:

The cursor name starts with a number or special character.

Solution:

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

Article ID:000001462

Software:
  • Legacy Products

Receive notifications and find solutions for new or common issues

Get summarized answers and video solutions from our new AI chatbot.

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options