Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Printing a separate report on a different form as a sub report.

edited January 2007 in General
I have a report on a form by itself. We'll call it UniversalSubReport.
This report uses a JITPipeline. I want to be able to call this report as a
sub report from many of my other reports which use DBPipelines.

I've tried doing the following but I just get a blank page.

Add the form to the uses clause of the calling report's form.
Create the form.
Assign the UniversalSubReport to the Subreport's report property using:

ppSubReport1 := TppSubReport(dmRbUniversalSubReport.rbMain);

ppSubReport1 is in the GroupFooterBand1 area with another SubReport (which
is on the calling form and it prints).

What is the best way to handle this type of report. We want to be able to
preview it so the user can be sure this is what they want to print.

Thanks
Mark Greenhaw
OneDomain, Inc.

Comments

This discussion has been closed.