I have a form with two sub forms. The form is set to data entry. The
form is bound directly to a table I have two buttons at the bottom of
the screen. One button is named reject and one is named accept. I
would like the reject button to cancel the current entry being written
to the table and the accept button to save the entry to the table.
I have tried the form.undo command and DoCmd.RunCommand acCmdUndo but
if you click on one of the subform it doesn't seem to undo the changes
(the subforms are not used to input data and are purely used for
reference) and a record is added to the table. If you do not click on
the subform and click the reject button no entries are added to the
table.
Any suggestions would be greatly appreciated.