I have explained the problem step by step as below:
Please, run the mariainv example of Mr. Rao
1. Open items and position the cursor on an item
2. Press the edit button and open the edit dialog
3. Now, when we are waiting here, another user has deleted the record that we are editing.
4. Edit the record. (Modify the name of the item)
5. Press Save button
6. Of course nothing happens.
7. Press the Save button again
8. 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?