When I close my form using the close button (docmd.close) I get message asking me to enter a parameter value, referencing a control on the form. I obviously have some code doing something silly but I haven't figured it yet.
Anyway, if I close the form by pressing the 'X' control at the top right of the form, the form closes ok.
What's the difference and how can I replicate this in my close button?
Anyway, if I close the form by pressing the 'X' control at the top right of the form, the form closes ok.
What's the difference and how can I replicate this in my close button?