Code Be Hind Command Button Not Working.
- From: "dan.cawthorne@xxxxxxxxx" <dan.cawthorne@xxxxxxxxx>
- Date: Fri, 02 Nov 2007 02:59:50 -0700
Hi All,
Ive Been Using a Simple Code to Open another form and close the
Current form, it works perfectly fine,
untill this morning i created a new form and now that the code won't
work,
they typyical code im using is as follows
Private Sub CmdSearch_Click()
DoCmd.OpenForm "frm_ViewProjectsByClients"
DoCmd.Close acForm, Me.Name
End Sub
But what happens now when i click on the button when the form is in
normal mode is as follows.
The Expression on the On Click You Entered a the event property
setting produced the following error:
A Problem Occurred While Microsoft Office 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-defined function or [Event Function]
* There may have been an error evaluating the function, event, or
marco
What does this mean? as all my other buttons work fine?
Regards
Dan
.
- Follow-Ups:
- RE: Code Be Hind Command Button Not Working.
- From: mscertified
- RE: Code Be Hind Command Button Not Working.
- Prev by Date: Re: Form View using snapshot?
- Next by Date: Re: Access crashes after SP3 installed
- Previous by thread: Re: Form View using snapshot?
- Next by thread: RE: Code Be Hind Command Button Not Working.
- Index(es):