Hello....
I am running a form that asks the user to enter in a vendor. Once the vendor is entered, I run a query that will bring back all vendors in our system that contain what the user entered in (i.e., '%VENDOR%' ). Once the query is finished, another form is opened containing all vendors returned from the query, as well as a checkbox. The user will go through and check which vendors he or she would like the report run for. Once they have selected all they would like, they click a button to run the report, putting the the vendors they selected into Excel, using OLE2.
My question is this....Is there a way to base the query that runs the actual report to Excel, on the block (the vendors the user checked). Any help anyone could give me would be much appreciated.
Thanks In Advance!
I am running a form that asks the user to enter in a vendor. Once the vendor is entered, I run a query that will bring back all vendors in our system that contain what the user entered in (i.e., '%VENDOR%' ). Once the query is finished, another form is opened containing all vendors returned from the query, as well as a checkbox. The user will go through and check which vendors he or she would like the report run for. Once they have selected all they would like, they click a button to run the report, putting the the vendors they selected into Excel, using OLE2.
My question is this....Is there a way to base the query that runs the actual report to Excel, on the block (the vendors the user checked). Any help anyone could give me would be much appreciated.
Thanks In Advance!