By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,940 Members | 614 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,940 IT Pros & Developers. It's quick & easy.

Button execution error message on Form

P: 91

I have placed a Button(Form Control) using drag drop from the design ribbon on to the Form with my Control Wizards on.

The Button is suppose to Quit the Access application when clicked.

However, when I am clicking the button on the Form View, I am receiving an error message - "You entered an expression that has an invalid reference to the property dirty".

Please note that I am not using any code and simply using the Wizard for the desired functionality of the button.

Please let me know what does this error mean and what do I need to do correct the problem.

Many thanks,
Mar 19 '12 #1
Share this Question
Share on Google+
1 Reply

Expert Mod 15k+
P: 31,419
If you've used a wizard I suspect that it has inserted a macro for you in the CommandButton's OnClick event property. Please confirm by posting the value you find there.

I never recommend the use of macros in any shape or form, although I do understand that people may do things via the wizards. I see macros as MS pushing their own agenda to the detriment of the interests of the community of Access Developers.
Mar 19 '12 #2

Post your reply

Sign in to post your reply or Sign up for a free account.