Link to home
Create AccountLog in
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.  
Avatar of Éric Moreau
Éric Moreau
Flag of Canada image

Can't you print the report twice in a loop and when your on the second copy, provide a different text value?
Avatar of AGION
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
Avatar of spangdelta
spangdelta
Flag of United States of America image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
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
Avatar of AGION

ASKER

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