Hey all,
Hope ur doing fine.
I got a question if anyone can help me out
i have a file with 2 fields (CODE SUBCODE)
TES01
CODE SUBCODE
T01 001
T01 003
T02 004
where a same code can have multiple subcodes
AND another table (SUB CODE TOTAL)
TES02
SUBCODE TOTAL001 388
003 877
003 500
in my program i need to have for each CODE to make the total for its related subcodes and write them in a table?
Can u just provide me with the hint for how i can loop the initial file so i can make the sum for each code?
Thanks have a nice day!
Hope ur doing fine.
I got a question if anyone can help me out
i have a file with 2 fields (CODE SUBCODE)
TES01
CODE SUBCODE
T01 001
T01 003
T02 004
where a same code can have multiple subcodes
AND another table (SUB CODE TOTAL)
TES02
SUBCODE TOTAL001 388
003 877
003 500
in my program i need to have for each CODE to make the total for its related subcodes and write them in a table?
Can u just provide me with the hint for how i can loop the initial file so i can make the sum for each code?
Thanks have a nice day!
Comment