I have a data entry form that has a bunch of text boxes bound to a table.
Currently, after a user enters their information, they click a button to save the record and certain info that was entered that would likely be used again for the next bit of data entry are auto populated into the text boxes. Behind the scenes, access automatically creates an incomplete record right off the bat with the information that is autopopulated.
This works good for what we do, however when someone tries to close the form, the user gets the standard canned message stating that duplicate entry would occur, blah blah blah.
The form is coded so that part of the information that autopopulates is the primary key fields as a check so that someone cant hit the button twice and save duplicate information.
Id like to find a way, only upon closing the form, to get rid of that 'half-entry' so to speak.
Is there any way to accomplish this through the method that I have set up, aside from disabling error messages?
Currently, after a user enters their information, they click a button to save the record and certain info that was entered that would likely be used again for the next bit of data entry are auto populated into the text boxes. Behind the scenes, access automatically creates an incomplete record right off the bat with the information that is autopopulated.
This works good for what we do, however when someone tries to close the form, the user gets the standard canned message stating that duplicate entry would occur, blah blah blah.
The form is coded so that part of the information that autopopulates is the primary key fields as a check so that someone cant hit the button twice and save duplicate information.
Id like to find a way, only upon closing the form, to get rid of that 'half-entry' so to speak.
Is there any way to accomplish this through the method that I have set up, aside from disabling error messages?