These two lines should be at the top of every module
Code:
Option Compare Database
Option Explicit
Have you tried Debug /Compile?? The error should be in the "frmNewQuote" module.
BTW, in the lines
Code:
DoCmd.Close acForm, "frmNewQuote", acSaveYes
DoCmd.Close acForm, "frmNewQuote", acSaveNo
the acSaveYes & acSaveNo do not do what you think. These parameters are for saving DESIGN changes of the form, NOT saving the data.
In code, you could switch a form to design mode, change the form by adding or deleting an object, changing formatting, colors, etc and close the form. THEN you would use those parameters to save the form design change(s).......
You could post your dB for analysis......(do compact & repair, then zip it)