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

Re: Define a prompt range value

$
0
0

Thanks again for all the help. I was able to complete the report.

 

after learning about the split command i was able to get the range value to work. After that i created the below formula to handle single, multiple and range values from my prompt setup

 

IF {?line2} LIKE "*-*"

THEN

(

      

        {sales_history.sah_sortkey2} IN (split({?Line2},"-")[1] TO split({?Line2},"-")[2])

)   

else

(

         {sales_history.sah_sortkey2} IN {?Line2} 

)

 

My version of Crystal doesn't offer me the show description option for anywhere but to prompt it. I just created another formula to use the prompt value and generated my report heading using that. Thankfully it was only 7 propmpt choices.so the formula wasn't too large.


Viewing all articles
Browse latest Browse all 10665

Trending Articles



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