Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 10519

Re: Allow multiple values for parameter is disabled in Crystal Report 2011

$
0
0

The only way I know of to handle this depends on not having any subreports in the report that your trying to configure.

 

1.  Create a "main" report that has all of your parameters.  If any of these are dynamic parameters, they should be configured separately in the Business View Manager.  Because you have to have at least one record in the report in order for it to run, I usually create a command that simply has something like this in it:

 

Select Sysdate from dual

 

This will give you the run date of the report.

 

2.  Create a formula that will take the array from any multi-select parameters and convert each to a comma-delimited string.

 

3.  Add the original report as a subreport.

 

4.  For each parameter, link from either the single value parameter or the formula that creates the comma-delimited string to the corresponding parameter in the subreport by using the drop-down in the bottom-left of the Subreport Links screen - do not use "Select data in subreport based on field" on the bottom-right.

 

-Dell


Viewing all articles
Browse latest Browse all 10519

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>