Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

same report 3 times with different text value

Status
Not open for further replies.

chuito7

Technical User
Jan 5, 2005
26
US
Hi:
I prepared an invoice in Crystal Report 8.5 using SQL databases. My customer needs to print the same invoice 3 times. The first one has to say "Original" the second one "Accounting" the third one "File". Also, that each invoice prints on a different paper color (they have a printer with multiple trays), this is important but not a most.

I'm grouping the report by invoice no, so when the invoice no changes it makes a page break. Actually they print their invoice in batch.

Any help on how to do this? I tried to make 3 copies of the same report and link but don't know how to link.

Thanks.
JC
 
How is your report laid out?
If there are multiple detail lines then you may have to use subreports. To do this, copy your main report to 2 sub reports. Make modifications to the subreports as needed. In your group footer for invoice number create sub-sections a and b. Place the subreports in footer a and b linking by invoice number.
As for selecting paper trays, I have never done that. Subreports slow things down and should be avoided whenever possible, but unless you can manipulate you data source by creating a view etc. the subreports may be your only option.

MrBill
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top