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

crystal report show highest values of 5 running fields

$
0
0

Hi guys, kindly help me out to this problem.

i want to create a report that summarize the "comments" in a field in database.

i already did that part. and it shows 5 running totals for 5 different comments.

the problem is how can i show in group footer the first two highest comments.

my formula for summarizing comments field is like this:

 

@sku_problem

if {@START_REMARKS} startswith "SY"    then

    4 else 0



@STORE_CODE

if {@START_REMARKS} startswith "ST"    then

    5 else 0

 

where @START_REMARKS is like:

left({ORDERS.B_ADDRESS3},2)

 

where {ORDERS.B_ADDRESS3} is the database field  where we store comments


sample comments are;


  • Low Volume
  • Soon to Open
  • Sale Event
  • System SKU Problem
  • Store bar code request
  • Hold Store
  • Manual generate OIS

i used left({ORDERS.B_ADDRESS3},2) to differentiate comments and summarize it as numbers.

please help me guys. thanks




-karlo



Viewing all articles
Browse latest Browse all 8989

Trending Articles



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