Dear Experts,
I have quite a problem here :-
I am trying to add up data that sits on tables as some kind of hierarchy. The data is as follows :-
itemcode qty treetype
1001 2 N
1002 5 N
1003 1 S
1004 6 I
1005 9 I
1006 3 N
I would to sum up the data in a report as follows :-
the rows with treetype N are grouped as they are, but for treetype I the rows quantities are summed up and added as the totals for tree type S. Please note that the qty 1 for the row with tree type S is not added up. It is there for display purposes only.
itemcode qty treetype
1001 2 N
1002 5 N
1003 15 S
1006 3 N
Please help.
Regards,
I have quite a problem here :-
I am trying to add up data that sits on tables as some kind of hierarchy. The data is as follows :-
itemcode qty treetype
1001 2 N
1002 5 N
1003 1 S
1004 6 I
1005 9 I
1006 3 N
I would to sum up the data in a report as follows :-
the rows with treetype N are grouped as they are, but for treetype I the rows quantities are summed up and added as the totals for tree type S. Please note that the qty 1 for the row with tree type S is not added up. It is there for display purposes only.
itemcode qty treetype
1001 2 N
1002 5 N
1003 15 S
1006 3 N
Please help.
Regards,