General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
>Andy, Darren and Jim,
>
>Usually, error 2072 happens when record in a cursor is modified (replace/insert) from underneath a grid or browse window and is not saved.
>Saying "modified from underneath a grid", I mean it is modified/inserted by custom code (event handlers, valid,...) while focus stays in the grid. For example., SQL-INSERT leaves the last appended record "dirty" and this confuses the grid. To workaround this problem, the code that modifies the cursor should make sure that all modifications are saved. The simple way to do it is to move from that record GO TOP, GO BOTTOM, SKIP.
>
>Thanks,
>Aleksey.
>
Forgot to mention, the problem shouldn't appear if modified record is the current record in the grid, thus it is not necessary to force it to be saved.
Thanks,
Aleksey.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only