Print Page | Close Window

show one subreport but print 2 copy

Printed From: Crystal Reports Book
Category: Crystal Reports for Visual Studio 2005 and Newer
Forum Name: Report Design
Forum Discription: The best way to design a report and problems you have encountered
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=15191
Printed Date: 20 Apr 2025 at 6:53am


Topic: show one subreport but print 2 copy
Posted By: sheekin
Subject: show one subreport but print 2 copy
Date Posted: 19 Dec 2011 at 5:09pm
hi...
I am using crystal report visual studio 2008 with subreport. i am using two subreport with same report source. now it is showing me result as i am expecting. But i have one more requirement. I want to show only one copy in print preview but it should print two copy in paper. Thanks in advance.



Replies:
Posted By: lockwelle
Date Posted: 23 Dec 2011 at 7:08am
don't think you can do that.
 
CR prints what the viewer sees.  If they see 1, it prints 1.
 
If it is from an application and the report doesn't take too long to generate, you could display 1 copy for the application but when the print (you would override or create your own print button) then you would create the second report and print that...not the one that was displayed.
 
The report would probably run/print faster if you got the data as dataset in the application and then pushed it to the report...once for the display and once for the print...this way you only have to wait for the data to come back from the database 1 time.  You would still have to wait for the report to format before printing, but that is probably shorter than getting the data AND formatting.
 
HTH



Print Page | Close Window