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

Re: Regarding optional parameters directing to different subreports in Crystal Reports

$
0
0

Hi Ashwin,

 

Assuming you have all the prompts setup along with the optional ones as well, here's what you need to do:

 

1) Go to the Section Expert > Highlight the section that holds subreport 1 > click the formula button beside 'Suppress' and use this code:

 

HasValue({Optional prompt 1}) OR HasValue({Optional prompt 2}) OR HasValue({Optional prompt 3}) OR HasValue({Optional prompt 4})

 

2) Next, go to the section suppression formula for the second subreport and use this code:

 

Not(HasValue({Optional prompt 1})) OR HasValue({Optional prompt 4})


3) Go to the section suppression formula for the third subreport and use this code:

 

Not(HasValue({Optional prompt 4}))


-Abhilash


Viewing all articles
Browse latest Browse all 8944

Trending Articles



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