Dcbrown428 said:
I have a report that has 9 sub-reports inserted. The report and all of the
subreports are based on data parameters (between[start date]and[end
date]).
When I choose this report I have to enter the date information multiple
times
(one for each subreport!) to open the report. I also have to do this when
I
print the report. What am I doing wrong?
Firstly, I never use parameter queries for reports -- I always use a form to
enter the information and construct either the RecordSource of the Report,
or a WhereCondition argument for a DoCmd.OpenReport. And, almost always, my
Reports and Subreport Controls, or Forms and Subform Controls, are designed
so that I can use the LinkMasterFields and LinkChildFields of the
Subreport/Subform Control to synchronize them.
I could be wrong, but get a "nagging feeling" that there may be some flaws
in the design if you have 9 subreports all based on either the same or
different date spans.
Perhaps, if you would explain in reasonable detail, what you have, and what
you are trying to accomplish, someone could suggest an approach that might
be easier. Oh, and be sure to tell us in what section of your Report you
have these 9 Subreport Controls placed, and whether they are at the same
level, or if some/all of them are embedded in other Subreport Controls.
Larry Linson
Microsoft Access MVP