Hello,
I have a form with a subform and another subform inside the first subform. I know that if the user types in a value on one of the subforms, the data is autmatically committed (Autosaved) to the table which is bounded to the subform/textbox. When the user closes the main form a message prompts with "Save YES or NO?". If he selects NO I want the mainform to close without saving the records.
As far as I know there are two options:
1. Create a Unbound Form
This involves a lot of VBA programming and the use of INSERT INTO SQL statements to set values to each table.
2. Run a DELETE SQL statement
I can delete the record after it is committed. However the Primary Key ID will still be incremented. I don't know if there is a maximum value for Primary Key?
What option do you guys advise, or are there several other options?
I have a form with a subform and another subform inside the first subform. I know that if the user types in a value on one of the subforms, the data is autmatically committed (Autosaved) to the table which is bounded to the subform/textbox. When the user closes the main form a message prompts with "Save YES or NO?". If he selects NO I want the mainform to close without saving the records.
As far as I know there are two options:
1. Create a Unbound Form
This involves a lot of VBA programming and the use of INSERT INTO SQL statements to set values to each table.
2. Run a DELETE SQL statement
I can delete the record after it is committed. However the Primary Key ID will still be incremented. I don't know if there is a maximum value for Primary Key?
What option do you guys advise, or are there several other options?
Comment