B
Bill Johnson
I have to produce 145 reports, a separate report for each
of 145 branches. I've set up a form where I can choose
each branch in turn, and at a click of a button it
produces a report based on a query that gets it's criteria
from the drop down list on my form. I have to perform
this function 145 times to get them all.
How much better would it be to run a loop in VBA! But I
don't know how to get the query to accept a variable
output from my little private module, to select each
branch in turn.
This must be fairly basic stuff for Access right? Is there
a way instead to have the Report itself filter for a
variable from VBA?
of 145 branches. I've set up a form where I can choose
each branch in turn, and at a click of a button it
produces a report based on a query that gets it's criteria
from the drop down list on my form. I have to perform
this function 145 times to get them all.
How much better would it be to run a loop in VBA! But I
don't know how to get the query to accept a variable
output from my little private module, to select each
branch in turn.
This must be fairly basic stuff for Access right? Is there
a way instead to have the Report itself filter for a
variable from VBA?