cafenerogal
Technical User
Hi!
I'm using Crystal 8.5. I need to pass a string parameter from the main report to the subreport.
The manin report (in the Group Footer #1) is essentially a summary report of a business process, the subreport is exactly the same but a different view of the data. The subreport has been placed in the report footer.
The main report has 2 parameters, both are string the 1st string parameter has been passed to the subreport successfully, but I can't pass the second one and am prompted to enter a value for both the main report and the subreport.
I've followed the advice in an article posted last year Passing Paremeters to a Subreport - and I've got exactly the same problem! I've named the parameters the same, checked that they're both the same datatype and that both contain the same default values. In the subreport links box, in the dropdown at the botton left, I ONLY get the default {?pm-?parametername} I don't have any other selection options and can't edit the text.
In the Select Expert, the parameter is defined as follows:
(if {?Applications} = 'All' then true else
if {?Applications} = 'On-Time' then (isnull({CHOICES.LATE_FLG}) or {CHOICES.LATE_FLG} = 'F') else
if {?Applications} = 'Late' then {CHOICES.LATE_FLG} = 'T')
which is the same in the subreport.
Any help would be appreciated!
Cheers!
Hetal
I'm using Crystal 8.5. I need to pass a string parameter from the main report to the subreport.
The manin report (in the Group Footer #1) is essentially a summary report of a business process, the subreport is exactly the same but a different view of the data. The subreport has been placed in the report footer.
The main report has 2 parameters, both are string the 1st string parameter has been passed to the subreport successfully, but I can't pass the second one and am prompted to enter a value for both the main report and the subreport.
I've followed the advice in an article posted last year Passing Paremeters to a Subreport - and I've got exactly the same problem! I've named the parameters the same, checked that they're both the same datatype and that both contain the same default values. In the subreport links box, in the dropdown at the botton left, I ONLY get the default {?pm-?parametername} I don't have any other selection options and can't edit the text.
In the Select Expert, the parameter is defined as follows:
(if {?Applications} = 'All' then true else
if {?Applications} = 'On-Time' then (isnull({CHOICES.LATE_FLG}) or {CHOICES.LATE_FLG} = 'F') else
if {?Applications} = 'Late' then {CHOICES.LATE_FLG} = 'T')
which is the same in the subreport.
Any help would be appreciated!
Cheers!
Hetal