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

Passing Parameters from VBA to SQL

Status
Not open for further replies.

comet78

MIS
Feb 4, 2005
1
GB
I am a newbie in the process of writing my first VBA app to refresh and print a number of reports. I have so far automated all reports with fixed parameters but and have got as far as declaring and setting the value of the variables for the parameters on those reports that require them.

I am now stuck on how to pass these parameters to my SQL.

How do I pass these parameters across?

When running there will be some 20/30 reports all running with the same parameters.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top