G
Gaetan
Hi,
I have created an OnClick event on a picture in a main menu that opens
another form with the following code:
Private Sub Image2_Click()
Me.Visible = False
DoCmd.OpenForm "frmAssociates"
End Sub
When I click on the image, it gives me the following message:
The expression On Click you entered as the event property setting produced
the following error: A problem occurred while Microsoft Office Access was
communicating with the OLE server or ActiveX Control.
I don't know what I should do to make it work.
Someone knows what I've been doing wrong?
Thanks.
I have created an OnClick event on a picture in a main menu that opens
another form with the following code:
Private Sub Image2_Click()
Me.Visible = False
DoCmd.OpenForm "frmAssociates"
End Sub
When I click on the image, it gives me the following message:
The expression On Click you entered as the event property setting produced
the following error: A problem occurred while Microsoft Office Access was
communicating with the OLE server or ActiveX Control.
I don't know what I should do to make it work.
Someone knows what I've been doing wrong?
Thanks.