for (tmp = custTrans_DS.getFirst(1) ? custTrans_DS.getFirst(1) : custTrans; tmp; tmp = custTrans_DS.getNext() ) { tmp.Amount = 100; tmp.update(); } custTrans_DS.research();