"Parse Error." when using ExecuteSQL or Evaluate() with GetFieldName() in a field calculation
Operating system version
Description of the issue
You can't use GetFieldName() in a Let Function with either Evaluate or ExecuteSQL, when defining a field calculation.
Steps to reproduce the problem
Try this in Calculation Field. Make sure the field you are referencing with GetFieldName is unrelated.
s = GetFieldName(
the calculation dialog can be closed and the calculation field will work correctly
You are not able to close the Calc Dialog. You get "Parse Error." Instead.
Exact text of any error message(s) that appear
Getting rid of the LET function and doing this for example