Have 3 column which should be grouped by
but I am unable to show them the way user wants it.
This is how the user wants it:
Unit Code Codedescr count of code sum(amount) //heading
Assets //grouping on @type
11111 100 AAAAAAAAA 19 2039485766
11111 200 BBBBBBBBB 10 1205485700
11111 300 CCCCCCCCC 10 110480066
11111 400 DDDDDDDDD 03 1239432001
---------------------------------
42 4594883533
Liab.
11111 100 AAAAAAAAA 17 -2039485766
11111 200 BBBBBBBBB 09 1205485700
11111 300 CCCCCCCCC 08 -110480066
11111 400 DDDDDDDDD 02 1239432001
---------------------------------
36 294951869
Net Value //grouping on unit
11111 100 AAAAAAAAA 36 0
11111 200 BBBBBBBBB 19 2410971400
11111 300 CCCCCCCCC 18 0
11111 400 DDDDDDDDD 05 2478864002
----------------------------------------------------------------
78 4889835402
type is a field and using this formula
@ type
IF {tab1.L2_ID} like 'IC*' AND RIGHT({tab1.L5_ID},2) = '01' THEN
'ASSETS'
ELSE
IF {tab1.L2_ID} like 'IC*' AND RIGHT({tab1.L5_ID},2) = '02' THEN
'LIAB.'
Any help is greatly apperciated
Thanks,
Sweetie
but I am unable to show them the way user wants it.
This is how the user wants it:
Unit Code Codedescr count of code sum(amount) //heading
Assets //grouping on @type
11111 100 AAAAAAAAA 19 2039485766
11111 200 BBBBBBBBB 10 1205485700
11111 300 CCCCCCCCC 10 110480066
11111 400 DDDDDDDDD 03 1239432001
---------------------------------
42 4594883533
Liab.
11111 100 AAAAAAAAA 17 -2039485766
11111 200 BBBBBBBBB 09 1205485700
11111 300 CCCCCCCCC 08 -110480066
11111 400 DDDDDDDDD 02 1239432001
---------------------------------
36 294951869
Net Value //grouping on unit
11111 100 AAAAAAAAA 36 0
11111 200 BBBBBBBBB 19 2410971400
11111 300 CCCCCCCCC 18 0
11111 400 DDDDDDDDD 05 2478864002
----------------------------------------------------------------
78 4889835402
type is a field and using this formula
@ type
IF {tab1.L2_ID} like 'IC*' AND RIGHT({tab1.L5_ID},2) = '01' THEN
'ASSETS'
ELSE
IF {tab1.L2_ID} like 'IC*' AND RIGHT({tab1.L5_ID},2) = '02' THEN
'LIAB.'
Any help is greatly apperciated
Thanks,
Sweetie