Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

DataWindow Error: Row changed between retrieve and update

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

like image 252
N. F. Avatar asked Jul 07 '10 07:07

N. F.


1 Answers

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.

like image 58
Hugh Brackett Avatar answered Jan 04 '23 04:01

Hugh Brackett