Jeff M
2007-10-04 10:27:42 UTC
I've tried to put it on the onclick event of the command button and put the code as something along the lines of
MsgBox "Are you sure you want to save the record?", vbOkCancel,
and then I'm not really sure what other code I need to have, or the right event to place it at, because if they hit the ok button I want the record to save and move to a new record, if they hit cancel, I want it to go back to the form with everything as is and not saved. Please help, if this doesn't make sense let me know and I will see if I can explain it better.
When I tried this before, regardless if they hit ok or cancel it still saved the record.