hi all
01) are there any function to remove this for loop?
(to get month wise total Ex: year(2).allMonths.qtySold )
02) asume data filled upto year(1).Month(4)
& Year(2).Month(8) if so how to get that last element no (%elem - this is for forloop, )
03) can i get year wise total of qtysold without writing loop?
Example : allYears.allMonths.qtySold
thanks
regards
dhanuxp
Code:
D Mdata ds DIM(12) Qualified d QtySold 5 0 d Revenue 4 0 d d Year Ds DIM(20) Qualified d Month likeDs(Mdata) Dim(14) .. .. for X = 1 to 12 by 1; totQty += year(1).Month(X).QtySold ; totRve += year(1).Month(X).Revenue ; endfor;
01) are there any function to remove this for loop?
(to get month wise total Ex: year(2).allMonths.qtySold )
02) asume data filled upto year(1).Month(4)
& Year(2).Month(8) if so how to get that last element no (%elem - this is for forloop, )
03) can i get year wise total of qtysold without writing loop?
Example : allYears.allMonths.qtySold
thanks
regards
dhanuxp
Comment