how to update a temporary table?

Hi shashank,

In case your still want to update the data.

If your datasource of the temptable is called tmptable this is the code to do it.

TmpTable localTmpTable;
;
localTmpTable.setTmpData(tmpTable);

ttsbegin;
while select forupdate localTmpTable
{
localTmpTable.Field1 = “NewValue”;
localTmpTable.doUpdate();
}

ttscommit;
tmpTable.setTmpData(localTmpTable);
tmpTable_ds.executeQuery();

Hope it helps you.