Skip to Content
0
Former Member
Jul 27, 2016 at 11:49 AM

Issue with parameter passing in Crystal Report

95 Views

Hi,

I have an issue with parameter passing. Probably someone of you had the same requirement in the past...

1. In main report there is a formula defined to find out the value of a parameter which needs to be passed to one subreport:

The subreport contains this script to assign the parameter from the main report to the appropriate field:

this doesn't work for following cases (first snapshot):

- else " " doesn't work

- when I write all the other cases instead of the else statement, e.g. "ALL;SHE", it doesn't work either because more than one value is recognized as one string

2. I have tried to implement it in another way:

Instead of the script in subreport (2nd snapshot) I have used the parameter linking:

This works for all other cases but not for the differentiation of netherland and belguim in first snapshot.

I hope that the requirement is clear. If you have any idea how I can pass a parameter that needs to be differentiated according the filter selection I will be very grateful.

BR,

Suita

Attachments

formula.JPG (25.5 kB)
formula2.JPG (18.3 kB)
formula3.JPG (57.3 kB)