CURSORGETPROP('AutoIncError') Contains True (.T.) when attempts to insert or update a value in a field that uses automatically incrementing field values generate an error message. Contains False (.F.) when attempts to insert or update a value in a field that uses automatically incrementing field values
does not generate an error message and the specified value to be inserted or updated is disregarded. Applies to cursors and sessions.
I think we'd better use
laField[m.liField, 18] = 0 && If the fields in the table use autoincrementing, the Step value is greater than 0