Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

OpenForm Error!!!!!

Status
Not open for further replies.

SilFaz

Programmer
Oct 3, 2003
37
AU
Hi everyone,

I have created a form that searches my main table based on criteria entered by the user and returns matching records in a subform. The search works great, but I also have a Clear All button that sets all the search fields to Null when pressed.

The problem is that after I press the Clear All button and try to search again, I get an error message that says "The OpenForm action was canceled". How can I fix this???

I also have reports being created from that same form, using the same query and it has no problems at all.

Please help!!!

Thanks,

Silvia
 
Oh, and if I press Esc after I get the error or after I click Clear All, the search works again...

Silvia
 
The only thing I can think of that would cause this is if you are truely setting the values of the fields to Null, or an empty string(I.E. "").

Thanks
Glen
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top