Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3585

Re: Issue in Logic ?

$
0
0

Hello

 

My all code is working Fine.

 

Only problem is of Clearance of variables. i.e T1, T2  and all.

Actually , I want output like this as -

                               

A   10       5          

A    20      5

A    30      6

B    10      7

B    20      7

 

Now for A and period 5 total should be displayed ,

A and period 6 total should be displayed.

 

simlilarly for B

 

But in my code which I have paste here is like

 

It is working fine for first customer name .

 

But when it changes , DMBTR is adding up for 2nd customer as varibales are not cleared because if i clear them , then first customer itself will not come right .

 

KIndly help dear .

 

 

 

Karan


Viewing all articles
Browse latest Browse all 3585

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>