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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem with Cancel button using a form to enter report criteria

Status
Not open for further replies.

maruahues

Programmer
Aug 29, 2001
2
US
Hi,

I need to create reports based on criteria. I used the following Microsoft's help using macros:


Everything works fine, but when I click on my Cancel button I get an error. The report tries to run and ask me for the query parameter.

I need to stop the report (not run it) when the user clicks on Cancel, and I don't know how to do this.

Any help would be appreciated.
Thanks
Maria
 
Make sure that in the Properties for the button that the "Name" of the button is 'Cancel' and that "Default" is set to 'Yes'
 
Thanks for the answer! =)
The name of the button is Cancel and Default is set to yes.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top