SQL query in excel (VB) using multiple parameters

K

Karin

I would like to have an sql query (which I've written) that looks at multiple
rows of parameters in excel and returns data - if anyone can point to some
guidance I'd be very grateful.
One the "Parameter Sheet" I will have parameters going across and then down
(e.g., one line for each client belonging to a certain manager):
ClientID, ClientID2, Begin Date, End Date,
I want to return staff name, hours worked (sum), for each row of data on the
"Data Sheet".
I'm confused on how to read the parameters and return the data in one table.
(Not sure how to make the loop through the parameters)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top