August 29, 2007, 09:12 AM
funsuttonCan one webfocus report do this much?
I have 3 columns in my table.
pidm schol_code paid_amt
000000 AMMPBB 35000
000001 AMRSST 25000
000002 DEPTLL 9000
000003 DOVERL 3500
000004 SLEEPS 4300
000005 SLIVER 3322
000006 MERITS 8000
000007 GRANTS 7088
000008 GRSSTP 9000
The report should sum each scholarship using the first letter (LIKE D%, LIKE G%, etc) and should look like this:
D%_Students Amount
2 12,500
M%_Students Amount
1 8000
I know how to do this for individual Scholarship types using WHERE schol_code LIKE 'D%', but this would require an individual report for each new letter (D%, M%, G%, etc). Is there a way to sum them all in the same report?
August 29, 2007, 09:18 AM
PrarieHow about a Define that just pics the first letter from the schol_code...and then you sort by that?
| In Focus since 1993. WebFOCUS 7.7.03 Win 2003 |
August 29, 2007, 09:25 AM
funsuttonI'm not sure I follow exactly...
How would you setup the define?
-Brian
Webfocus v7.6.1 on Windows XP
August 29, 2007, 09:41 AM
funsuttonum, nevermind. I got it.
The define worked....just took me a minute to get it straight in my head.
Thanks for the help.
-Brian
Webfocus v7.6.1 on Windows XP
August 29, 2007, 09:51 AM
PrarieGood.
| In Focus since 1993. WebFOCUS 7.7.03 Win 2003 |