event handler

vish

New member
Local time
Today, 18:08
Joined
Jan 31, 2002
Messages
7
I have created an event handler for a command button. but when i press the button I get an error
"The expression On Click 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."
It says the possible reasons may be
1) The Expression may not result in the name of a macro, the name of a user-defined function, or [Event Procedure]
2)There may have been an error evaluating the function, event, or macro.

The puzzling thing is the event handler is working only for one case and giving the above error for all other cases.

plz help me.. any help is appreciated
visu
 
Show us the code/function/macro you use On_Click.

Alex
 

Users who are viewing this thread

Back
Top Bottom