Avatar of AGION
AGION
 asked on

Different text on second copy of Crystal Reports Invoice Layout

Hi all,

I've made a Crystal Reports lay-out to print invoices. I've to print two copies of the invoice due to legal purposes. The two copies are exactly the same except for one field. Is it possible to fill this field dynamicly based on the copy number of the invoice?

I've found some solutions with subreports, but I can't use these because my invoice lay-out already got some subreports. As far as I know it's not possible to work with subreports within subreports.

Thanks in advance.  
Crystal Reports

Avatar of undefined
Last Comment
AGION

8/22/2022 - Mon
Éric Moreau

Can't you print the report twice in a loop and when your on the second copy, provide a different text value?
AGION

ASKER
Unfortunately that's not an option. I want to print the invoices with the batch-printing function of the software.
ASKER CERTIFIED SOLUTION
spangdelta

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Mike McCracken

You are correct.  S subeport can't have a subreport.

What batch printing function?

Crystal doesn't know it is printing the report twice so it can't determine which copy is being printed.

The only way to do this is to print the report twice and pass a parameter that is either the text to displa or a copy number and use a formula to display the correct information

mlmcc
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes
AGION

ASKER
thx, easy but effictive solution. I had to rebuild my report for the page and report headers but it worked