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

Re: How to pass relative dates (Yesterday, Last week) via Command Parameters in a linked subreport

$
0
0

Another option is to have the date range parameters in the command in the subreport, but to also create them and the {?Relative Date} parameter in the main report.  You can then use two Crystal formulas to calculate the start date and the end date based on the {?Relative Date} parameter.  Use these two formulas to link to the command parameters in the subreport.  That way you don't have to do a more complicated "where" clause in the command, you just have to account for the date range.

 

-Dell


Viewing all articles
Browse latest Browse all 8802

Trending Articles



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