I have explained the problem step by step as below:
Please, run the mariainv example of Mr. Rao
- Open items and position the cursor on an item
- Press the edit button and open the edit dialog
- Now, when we are waiting here, another user has deleted the record that we are editing.
- Edit the record. (Modify the name of the item)
- Press Save button
- Of course nothing happens.
- Press the Save button again
- oRec:Save() modified another record, since the pointer positioned on that record.
How can I overcome this problem. oRec:Save() returns false
but there is no any sql error. What can we do?