Hi John,
Thanks for taking the time to reply!
The form (with the text boxes that the query retreives its parameters from)
is a dialog window infact... and it never closes.. i actually run the query
with the form/dialog window open. Also, i checked to make sure the query
parameters have the proper path/name to the forms textboxes and those seem
fine....
-------------------------------------------
Form Name:
"VolunteerSearchForm"
Query Name:
"Volunteers_SearchQuery"
Query Parameters:
[Forms]![VolunteerSearchForm]![IDTextBox]
[Forms]![VolunteerSearchForm]![FirstNameTextBox]
[Forms]![VolunteerSearchForm]![EMailTextBox]
[Forms]![VolunteerSearchForm]![TelephoneTextBox]
-----------------------------------------------
Coincidentally, I recently added a button to the form ("VolunteerSearchForm")
which should hide the form..
----------------CODE-------------------
Private Sub HideButton_Click()
Me.Visible = False
End Sub
------------------------------------------
...but when i click the button, the following error pops up;
-------------------------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.
*The Expression may not result in the name of a macro,
the name of a user-defined function, or [Event procedure]
*there may have been an error evaluating the function,
event or macro.
----------------------------------------------------------------------
So im guessing the original problem i had with the parameter query is just a
symptom of a bigger problem which is also effecting the button i just added
to the form. However, every other form works perfectly, including the other
parameter/form based queries i created weeks earlier.
Any ideas whats going on??
Cheers!
WebDude
JohnFol said:
either the form is not open, or the form name has changed . . .