>>The error I'm getting is "Cursor cannot be modified because it contains an unsaved record". The cursor is made by create cursor (and in later version, select * ... readwrite from that cursor, same result). The record was not changed, the cursor is just populated from an .ini file - in one version via append from array, in other via insert. There's no buffering, nothing, no underlying table, no database engine connected.
>>
>>Now if I change the method of populating the cursor from "append from" or "insert into" to "append blank, replace...", it stops complaining. WTF? Anyone seen this before?
>
>Hi,
>This is error 2072 and according to the Helpfile:
>
>This error typically occurs when a record in a cursor is modified in a grid or Browse window and is not saved before moving to another record.
>
>Any code that modifies the cursor should ensure that all modifications are saved before moving the record pointer.
>
>Please check your code of the grid
I wonder how does "save" apply to this situation in the first place. There's no save, this is a readwrite cursor without an underlying table, there's no buffering. I tried with tableupdate() after every change (i.e. after inserting the record, after changing the record), still the same. What does "unsaved" mean on a totally private exclusive cursor?