In ATTACHED table cmontds
I require sum of quantity of itemcode=”1”,”2”,”4”
Say in the giving table it will be 5000+321000+4000=330000 (SUMMS)
And sum of quantity of itemcode=”4”
Which will be in the given table as 302000 (SUMHSD)
NOW
SUMTOTQTY = SUM(SUMMS+SUMHSD)
now do case starts................
as per attached word
will be highly obliged if someone can give the prg to be written so that i can use and try to understand
thanks
regards
I require sum of quantity of itemcode=”1”,”2”,”4”
Say in the giving table it will be 5000+321000+4000=330000 (SUMMS)
And sum of quantity of itemcode=”4”
Which will be in the given table as 302000 (SUMHSD)
NOW
SUMTOTQTY = SUM(SUMMS+SUMHSD)
now do case starts................
as per attached word
will be highly obliged if someone can give the prg to be written so that i can use and try to understand
thanks
regards