Quantcast
Viewing all articles
Browse latest Browse all 9091

Re: summary report needs one type condition

Hi Paul,

 

Is this a Record Selection Formula you want or a formula to do the summary?

 

If it's a Record Select Formula then it would look something like:

 

Select {CLSPAYTP.OTTRNC}

     Case '001' :{CLSPAYTP.OHORDT} = 'RTR'

      Default :{CLSPAYTP.OTTRNC} <> '001';

 

If it's a formula for summing then:

 

If {CLSPAYTP.OTTRNC} = "001" And {CLSPAYTP.OHORDT} = "RTR" then

     1

Else if {CLSPAYTP.OTTRNC} <> "001" Then

     1;

 

Drop this into the Detail section and do a Sum on it.  This should give you the count you need.

 

Adding it to your Record Selection would be easier.  You could just do a Count now on a field on the detail section.  No extra coding required.

 

Hope this helps,

Brian


Viewing all articles
Browse latest Browse all 9091

Trending Articles



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