Print Report from different form

J

Joe Cilinceon

What I have is a Summary report that is made up of several sub reports. Now
all the reports are based on a date span. I call the report from a sub form
with a calendar. Now because the filter will be different for each sub
report I've added 2 hidden fields to the main report that is code like:

StartDate
=Forms!fsubSummary!txtStartDate

EndDate
=Forms!fsubSummary!txtEndDate

Now here is the problem, most of the time I'll just print this report by
itself, which works fine. However I also print it to a PDF and combine it
with several other reports based on the same start/end dates. I'm trying to
use another calendar sub form to call this group and was wondering how I
could best set the startdate in the Summary report's hidden text boxes other
than getting from the calling form. All the others have no sub reports so
they work fine.
 
Top