Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 7790

Convert Sub-Report to Crystal Command

$
0
0

I'm attempting to convert a sub-report and a shared variable from the report to a Command.

 

Can someone help with the conversion


Here is the part of the Crystal SQL I can't convert

This is within last7days >>>  (ORDER_PROC.ORDER_INST>={ts '2014-06-18 00:00:00'} AND ORDER_PROC.ORDER_INST<{ts '2014-06-25 00:00:00'})

AND ((ORDER_PROC.RESULT_TIME IS  NULL ) OR (ORDER_PROC.RESULT_TIME>=ORDER_PROC.ORDER_INST))
ORDER BY ORDER_PROC.ORDER_INST

 

Here is the code for the shared variable

if (not isnull({ORDER_PROC_3.FREQ_UNSCHEDULED_C}) and {ORDER_PROC_3.FREQ_UNSCHEDULED_C}=1 ) then {ORDER_PROC.ORDER_INST}

else {ORDER_PROC.PROC_START_TIME}


 

Thanks

Steve


Viewing all articles
Browse latest Browse all 7790

Trending Articles



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