I have a table view form called “main” where the user click “Insert”
Appear another form where user fill the fields.
After that he can choose :
“abort” → rollbackEditedRecords & showForm(main)
“save” → saveData & showForm(main)
The problem is that if he click “abort” when he returns to the main form he finds a partial record (id not present) like in the image.
The only trick I find is to do a foundset.clear() and foundset.loadAllRecords but I really think this is the solution…
How can I solve?