DataWindow Error: Row changed between retrieve and update

Nawshad Farruque picture Nawshad Farruque · Jul 7, 2010 · Viewed 19.3k times · Source

I am getting an error when updating a DataWindow which says "Row changed between retrieve and update". What is the solution?

Answer

Hugh Brackett picture Hugh Brackett · Jul 7, 2010

This can occur if you are displaying the same row(s) in more than one (non-shared) DataWindow and then try to update them both. Other causes are incorrect use of SetItemStatus(); incorrect use of the status flags on the update() statement; and finally, the cause this is intended to detect, another user updated the row before you.