# rollbackEditedRecords don't  update table view

**URL:** <https://forum.servoy.com/t/rollbackeditedrecords-dont-update-table-view/8752>\
**Category:** Classic Servoy\
**Created:** [February 18, 2008, 5:32pm UTC](https://forum.servoy.com/t/rollbackeditedrecords-dont-update-table-view/8752 "2008-02-18T17:32:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![axterics](https://avatars.discourse-cdn.com/v4/letter/a/f07891/32.png) [@axterics](https://forum.servoy.com/u/axterics)\
**Post date:** [February 18, 2008, 5:32pm UTC](https://forum.servoy.com/t/rollbackeditedrecords-dont-update-table-view/8752/1 "2008-02-18T17:32:23Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![axterics](https://avatars.discourse-cdn.com/v4/letter/a/f07891/32.png) [@axterics](https://forum.servoy.com/u/axterics)\
**Post date:** [February 19, 2008, 8:01am UTC](https://forum.servoy.com/t/rollbackeditedrecords-dont-update-table-view/8752/2 "2008-02-19T08:01:50Z")

</div>

more details:  
Servoy 3.5.4  
JDK 1.6.0\_04

getAutoSave = false

---

<div class="post-metadata">

**Author:** ![axterics](https://avatars.discourse-cdn.com/v4/letter/a/f07891/32.png) [@axterics](https://forum.servoy.com/u/axterics)\
**Post date:** [February 20, 2008, 2:11pm UTC](https://forum.servoy.com/t/rollbackeditedrecords-dont-update-table-view/8752/3 "2008-02-20T14:11:47Z")

</div>

SOLVED!  
The “main” id was auto\_increment and viewed as “db identity”, changed in servoy sequence all works right  
 ![:oops:]( "Embarassed")
