B
Brett Davis
Hello...
I am frustrated... I have a form that I am using to enter in client
information. If for some reason that the person entering in the data clicks
"close" the record is stilled saved regardless if the person clicked the
"save" button or not. The data is being saved into the Client table which
has an auto-identity field. So when this senario happens the data is saved
and the auto id is incremented.
What I want it to do is... if the user clicks the "close" button before
saving the record I DO NOT want the record to be saved and thereby not
incrementing the auto-id field. Is there some VBA code that I can put
behind my buttons to do this rollback before the record is saved or closed
out?
I am using Microsoft Access 2000
Please advise...
Thank you,
Brett
I am frustrated... I have a form that I am using to enter in client
information. If for some reason that the person entering in the data clicks
"close" the record is stilled saved regardless if the person clicked the
"save" button or not. The data is being saved into the Client table which
has an auto-identity field. So when this senario happens the data is saved
and the auto id is incremented.
What I want it to do is... if the user clicks the "close" button before
saving the record I DO NOT want the record to be saved and thereby not
incrementing the auto-id field. Is there some VBA code that I can put
behind my buttons to do this rollback before the record is saved or closed
out?
I am using Microsoft Access 2000
Please advise...
Thank you,
Brett