G
Guest
Hi!
I have got a very simple piece of code which runs on the "On Click" event of
a command button. Here it is:
Private Sub Yes_proceed_combut_Click()
x = MsgBox("We are obliged to advise you that Anchorman is authorised and
regulated by the Financial Services Authority and are covered by the
Financial Services Compensation Scheme", 0, "Important Information")
End Sub
Unfortunately, every time I try to check that this code is working an error
message appears as follows:-
The expression "On Click" you entered as the event property setting produced
the following error: Object or class does not support the sets of events
I do not know why this is not working - it seems straightforward to me. I
have used similar code in a previous database I set up and it worked ok.
If anyone could help I'd be really grateful - I'm tearing my hair out!!!
Thanks.
Gillian
I have got a very simple piece of code which runs on the "On Click" event of
a command button. Here it is:
Private Sub Yes_proceed_combut_Click()
x = MsgBox("We are obliged to advise you that Anchorman is authorised and
regulated by the Financial Services Authority and are covered by the
Financial Services Compensation Scheme", 0, "Important Information")
End Sub
Unfortunately, every time I try to check that this code is working an error
message appears as follows:-
The expression "On Click" you entered as the event property setting produced
the following error: Object or class does not support the sets of events
I do not know why this is not working - it seems straightforward to me. I
have used similar code in a previous database I set up and it worked ok.
If anyone could help I'd be really grateful - I'm tearing my hair out!!!
Thanks.
Gillian