I've used the button wizard to do a save record. (I realize Access saves record data when the record is advanced to any other record.) The wizard generates this VB code: "DoCmd.RunCommand acCmdSaveRecord".
I have an issue where the User is adding a record on the form. They want to directly print when they've finished keying in data. It won't print on the first click, it does nothing, and so they click twice.
I believe the problem is because the record isn't yet in the table. I can view the table in another tab and that's true, the record isn't there yet.
So I've tried putting the standard 'Save record button' on the form, but when the form is in "add mode", the save record gives me an error of: "You entered an expression that has an invalid reference to the property".
How do I force Access to save the record on an Add function without closing the form or advancing to another record?
Thanks to anyone who can help!