M
Michael Miller
Dear ALL:
I already have about 11 queries set up that have their own parms to ask for
either a beginning and ending date or just an ending date in different fields
on the different queries. I was hoping I wouldn't have to copy all the
queries into code and put the vars inside the statements. Was hoping to pass
my dtStartDate to the Access query's [StartDate]?
On a form, I ask the user for the beginning and ending dates in txtboxes.
I have assigned those values to vars, upon clicking a Preview button, but
need to know how to pass those two vars to a query.
Once I get one query solved, I can do the rest.
I already have about 11 queries set up that have their own parms to ask for
either a beginning and ending date or just an ending date in different fields
on the different queries. I was hoping I wouldn't have to copy all the
queries into code and put the vars inside the statements. Was hoping to pass
my dtStartDate to the Access query's [StartDate]?
On a form, I ask the user for the beginning and ending dates in txtboxes.
I have assigned those values to vars, upon clicking a Preview button, but
need to know how to pass those two vars to a query.
Once I get one query solved, I can do the rest.