moonknightt
Programmer
I have a report that is in this format
orgid ClientNumber client amount
6 1 $2000
6 2 $6000
6 3 $8000
6 4 $3655
6 5 5635
6 6 $8000
6 7 $10000
6 8 $9700
6 9 $5988
6 10 $300
6 11 $82555
I need to take the sum of the first 5 and then the sum of the rest of them sothat the report looks like this
orgid ClientNumber client amount
6 1 $2000
6 2 $6000
6 3 $8000
6 4 $3655
6 5 $5635
total of first 5 $25290
6 6 $8000
6 7 $10000
6 8 $9700
6 9 $5988
6 10 $300
6 11 $82555
total of rest $116543
Does anyone know how i could get this done
orgid ClientNumber client amount
6 1 $2000
6 2 $6000
6 3 $8000
6 4 $3655
6 5 5635
6 6 $8000
6 7 $10000
6 8 $9700
6 9 $5988
6 10 $300
6 11 $82555
I need to take the sum of the first 5 and then the sum of the rest of them sothat the report looks like this
orgid ClientNumber client amount
6 1 $2000
6 2 $6000
6 3 $8000
6 4 $3655
6 5 $5635
total of first 5 $25290
6 6 $8000
6 7 $10000
6 8 $9700
6 9 $5988
6 10 $300
6 11 $82555
total of rest $116543
Does anyone know how i could get this done