on 2010 Sep 03 1:59 PM
Hi Experts ,
Pls guide me in resolving the below issue
1. I have a collection XX with 5 columns (Q1 , Q2,Q3,Q4,Q5) .
On a particular condition , I'm trying to add new rows .
consider I have added 2 rows .
//valu=2
for(int j =0;j<valu;j++){
annual.add( newMember );
}
}
On adding 2 rows , I'm trying to read first row and trying to set value for Q1
savingsIter = annual.iterator();
while (savingsIter.hasNext())
{
member = savingsIter.next();
firstRow=annual.get(0);
firstRow.set("ERS_Q1", Qu1);
}
On trying this , automatically Q1 of 2nd row is auto-populated with value updated in 1st row
Pls suggest me where i'm going wrong
THANKS IN AdVANCE
Tayi
Request clarification before answering.
Thank you . It solved my problem
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.