Quantcast
Channel: SCN : Unanswered Discussions - SAP Crystal Reports
Viewing all articles
Browse latest Browse all 4814

How to condition the call to a sub report?

$
0
0

I have some rows that are all the same except for one column, the transcodes.

it looks like this:

 

Order#     Amt        Transcodes

 

123         100           001

123         100           @23

123          100          CWU

 

i have a report that i misunderstood one point. the main report shows all the transcodes which are not '001', and the sub report shows all the 001 only.

 

That is not what they want. they want the 001 in the sub report ONLY if there are no other codes, iow in our case above, we would not want to call the sub report.

 

if there was only

 

Order#     Amt        Transcodes

 

123         100           001

 

then this row we would want.

 

Can i condition the sub report to run ? I am thinking i need to store the code each time, code and order#. then before call to sub report, check if it exists in temp area? how would this be done?


Viewing all articles
Browse latest Browse all 4814


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