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

Re: Push Crystal Report parameters values to sql query selection

$
0
0

hi Pritesh,

 

if there's the option of getting rid of the parameter then you could use YEAR(CURRENT_DATE) instead...i.e.

 

FBD.FISCAL_YEAR = YEAR(CURRENT_DATE)

 

however, if you need to leave the query as it is, with a parameter, then the only way to do this is to create a new report and Insert > your existing report as a Subreport. then create a formula that will act as a link to the subreport's parameter. formula syntax would be

 

year(currentdate)

 

-jamie


Viewing all articles
Browse latest Browse all 8430


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