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

Running a parameter query in a macro

Status
Not open for further replies.

docliv

Technical User
Nov 11, 2002
21
US
Hi all,
This seems like a simple problem, but for the life of me...I'm not able to figure it out...and I feel like I'm missing something simple. What I have is a parameter query that runs fine. It comes up with it's own box that prompts the user for "data1" with an "ok" button and a "cancel" button. Query works fine on it's own, but when I put it in a macro..hitting the cancel button stops the macro and displays a halt message. I want the user to go back to the form and not see the "halt macro" condition box. What am I missing? Thanks in advance for any help

Terry
 
Terry,

Tell us more:
-Sql to your query
-what fires the macro
-code in the macro (convert it to code and paste that)

Jeremy =============
Jeremy Wallace
Designing, Developing, and Deploying Access Databases Since 1995

Take a look at the Developer's section of the site for some helpful fundamentals.
 
Jeremy,
Converting the macro to code and running that took care of the "problem", thanks for the suggestions.

Terry
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top