M
Mike
Steve Schapel gave the following response to a question on how to run muliple
reports:
"Doing this with a macro probably needs to involve:
- make a continuous view form with your list of names
- make a macro to...
- export a report for the name of the current record on the form
- use GoToRecord action to move to the next record on the form
- make another macro using the RunMacro action, to run the export
macro, with a suitable Repeat Expression argument, so the export is run
for each name."
I followed this advice to produce reports based on work unit code numbers.
It was fine for a test of 6 work units but when I loaded the other 30 work
units the output did not match the data for the particular unit.
Someone told me Access does not necessarily read the table in the order it
was created in [and something about memory that I did not understand]. I was
also advised it wld be better not to use a form and instead create a query
that filtered the data and had the macro point to that query.
I am open to suggestions.
Mike
reports:
"Doing this with a macro probably needs to involve:
- make a continuous view form with your list of names
- make a macro to...
- export a report for the name of the current record on the form
- use GoToRecord action to move to the next record on the form
- make another macro using the RunMacro action, to run the export
macro, with a suitable Repeat Expression argument, so the export is run
for each name."
I followed this advice to produce reports based on work unit code numbers.
It was fine for a test of 6 work units but when I loaded the other 30 work
units the output did not match the data for the particular unit.
Someone told me Access does not necessarily read the table in the order it
was created in [and something about memory that I did not understand]. I was
also advised it wld be better not to use a form and instead create a query
that filtered the data and had the macro point to that query.
I am open to suggestions.
Mike