Hi
I have a form to create a new client record which contains a tab control, the various tabs contain sub forms for creating related client information on other tables e.g an 'Address History'table.
The first tab contains the main basic information about the client held in the 'Clients' table.
Occasionally users want to abandon the creation of the new client for whatever reason. To accomodate this I created a button on the first tab called 'Exit without saving' which triggers an 'Undo' action, shows a confirmation msgbox and closes the form.
The problem I have is that this only works if they have not gone into any of the other tabs to enter information. As soon as they leave the 'Main' tab, the client record is saved.
Is there any way I can prevent the record from saving until the user is ready to commit what they have entered on the various tabs into the various tables?
Or are there any suggestions for dealing with this scenario?
Thanks
Norman
I have a form to create a new client record which contains a tab control, the various tabs contain sub forms for creating related client information on other tables e.g an 'Address History'table.
The first tab contains the main basic information about the client held in the 'Clients' table.
Occasionally users want to abandon the creation of the new client for whatever reason. To accomodate this I created a button on the first tab called 'Exit without saving' which triggers an 'Undo' action, shows a confirmation msgbox and closes the form.
The problem I have is that this only works if they have not gone into any of the other tabs to enter information. As soon as they leave the 'Main' tab, the client record is saved.
Is there any way I can prevent the record from saving until the user is ready to commit what they have entered on the various tabs into the various tables?
Or are there any suggestions for dealing with this scenario?
Thanks
Norman