F
Fried Elliott
I have 4 different self-contained reports I would like to variously combine
into one continuous "print job" based on various parameters chosen by the
user off a master print control form.
Currently, the record source for each report is set using the openarg:
parameter to a .OpenReport method created using values gathered on this form,
and there are 3 different types of record sources that can be created for
each report, each of which is in effect a different primary header or
grouping field. All this is buried in a function call that for each report
essentially figures out how to setup the report and print it.
In thinking through the method of "combining reports embedding each as a
subreport on a master report, with appropriate headers, grouping, and
linking"...
With (currently) 4 different reports being combined under (currently) 3
different primary groupings (and therefore different primary link fields),
I'm concerned that this approach is going to result in a combinatorial
explosion of versions of these various master and subreports since if I
understand it correctly, I would need to create three versions of a master
(each with their different primary link field) and four different versions of
each report as a subreport since although I assume I could set the child link
property I don't believe I can use the openargs: trick to set the record
source for each subreport on the fly.
I may not understand entirely how this is going to play out but before I go
charging down this path and start hacking away on my current (beautifully
working and hard earned) reports and functions, I would be interested in
hearing if I have thought this through correctly and appreciate any thoughts
or suggestions concerning how to manage this potential explosion of reports
and subreports I am anticipating as a result.
Many thanks in advance!
Fried Elliott
Dallas
into one continuous "print job" based on various parameters chosen by the
user off a master print control form.
Currently, the record source for each report is set using the openarg:
parameter to a .OpenReport method created using values gathered on this form,
and there are 3 different types of record sources that can be created for
each report, each of which is in effect a different primary header or
grouping field. All this is buried in a function call that for each report
essentially figures out how to setup the report and print it.
In thinking through the method of "combining reports embedding each as a
subreport on a master report, with appropriate headers, grouping, and
linking"...
With (currently) 4 different reports being combined under (currently) 3
different primary groupings (and therefore different primary link fields),
I'm concerned that this approach is going to result in a combinatorial
explosion of versions of these various master and subreports since if I
understand it correctly, I would need to create three versions of a master
(each with their different primary link field) and four different versions of
each report as a subreport since although I assume I could set the child link
property I don't believe I can use the openargs: trick to set the record
source for each subreport on the fly.
I may not understand entirely how this is going to play out but before I go
charging down this path and start hacking away on my current (beautifully
working and hard earned) reports and functions, I would be interested in
hearing if I have thought this through correctly and appreciate any thoughts
or suggestions concerning how to manage this potential explosion of reports
and subreports I am anticipating as a result.
Many thanks in advance!
Fried Elliott
Dallas