T
Tony Williams
I have a form that has 3 tabcontrols. 2 of the tab controls are based on
other linked tables. On the main form I have a command button that has code
which checks if the record is a new one and if so a message box appears.
This works fine if the user doesn't tab into the tab controls. However if
they do and they then click on the Save button the message doesn't appear.
Is this because the record is saved when the user tabs to the tab control
and so when they click on the save button it is already saved and therefore
not a new record? If so how can I change the code so that the message comes
up after they've tabbed to the tab controls AND they click on Save?
Hope I've explained that!!
TIA
Tony Williams
other linked tables. On the main form I have a command button that has code
which checks if the record is a new one and if so a message box appears.
This works fine if the user doesn't tab into the tab controls. However if
they do and they then click on the Save button the message doesn't appear.
Is this because the record is saved when the user tabs to the tab control
and so when they click on the save button it is already saved and therefore
not a new record? If so how can I change the code so that the message comes
up after they've tabbed to the tab controls AND they click on Save?
Hope I've explained that!!
TIA
Tony Williams