Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Creating Full Page Subreports Post Reply Post New Topic
Author Message
bkswindell
Newbie
Newbie


Joined: 13 Jun 2014
Location: United States
Online Status: Offline
Posts: 1
Quote bkswindell Replybullet Topic: Creating Full Page Subreports
    Posted: 25 Sep 2016 at 3:20am
Hi I have a .rpt file that creates a multi page invoice.  The file expects a parameter: Invoice_Id.  The output is a single possibly multi-page invoice.

The problem is that I need to run the report for 100+ invoices so that I can send it to the printer.  At the end of the day I want to end up with a 100+ page PDF containing all the invoices.  It is not possible for me to run the single report 100+ times manually.

I tried to construct another .rpt file called (InvoiceList.rpt) that has a simple query such as SELECT Invoice_Id FROM Invoices.  Then I removed all the headers and footers, and added the (Invoice.rpt) file as linked sub report passing in the Invoice_Id from the query to it.

In concept this should have worked but the format did not work, margins were not correct, report was cutoff, and any attempt to correct it seems to fail.  Is this the best approach or is there another way to do this?

I will need to add the (InvoiceList.rpt) file to my reporting utility that uses the .net crystal reports run time engine in an asp.net site.

Thanks.
IP IP Logged
kevlray
Admin Group
Admin Group
Avatar

Joined: 29 Oct 2009
Online Status: Offline
Posts: 1587
Quote kevlray Replybullet Posted: 26 Sep 2016 at 4:27am
Not sure why you need to make it a sub-report.  But beyond that, then it normally comes down to printer drivers. Also we have had some odd issues with the .pdf output from time to time (especially when a report viewer is used).
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.000 seconds.