Problem with wizard comman button

A

Amy Blankenship

Hi, all;

I'm creating a new command button, as I have many times before, and I'm
using the wizard to automatically create the sub for the OpenForm DoCmd.
However, when I click the button on the form, I get
"The expression onClick you entered as the event property setting produced
the following error: A problem occurred while Microsoft Access was
communicating with the OLE server or ActiveX control
* The expression may not result in the name of a macro, the name of a user
define function, or [Event Procedure]
* There may have been an error evaluating the function, event, or macro."

Anyone encounter this before and know what causes it?

TIA;

Amy
 
A

Amy Blankenship

OK, I have tried even an empty sub attached to that button, as well as an
empty sub for the Form's onLoad event, and I still get the same error. Is
there any possibility I need to load a reference to make event procedures
function properly?

TIA;

Amy
 
G

Guest

I've had the same problem. The only way I could correct the fault was to
create a new blank database, and then import the forms, tables etc from the
original database.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top