# Cancel in TabPanel-Form

**URL:** <https://forum.servoy.com/t/cancel-in-tabpanel-form/17122>\
**Category:** Classic Servoy\
**Created:** [March 18, 2013, 10:41am UTC](https://forum.servoy.com/t/cancel-in-tabpanel-form/17122 "2013-03-18T10:41:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rph](https://avatars.discourse-cdn.com/v4/letter/r/c2a13f/32.png) [@rph](https://forum.servoy.com/u/rph)\
**Post date:** [March 18, 2013, 10:41am UTC](https://forum.servoy.com/t/cancel-in-tabpanel-form/17122/1 "2013-03-18T10:41:45Z")

</div>

Hi

Yet another one:

I have a form with a TabPanel. On the TabPanel there are 4 tabs and on every of the 4 tabs I use the same relation (a 1:1 Relation between the main form on which the tabpanel is).

Now I press the “new”-button and then I set the focus in a field of tab 1. Then I press the “Cancel”-Button in the toolbar. I get the warning dialog as expected, but when I confirm that I want to cancel, the new record will still be shown (it will not be stored in the database). I can skip to the next record and come back and the new record is still here. I have to close the form and then re-open it, then it’s gone.

Best regards,  
rph
