while select table1 { i++; ttsbegin; table1.selectForUpdate(true); table1.reread(); table1.Field1 = strfmt("Blah %1", i); table1.doupdate(); ttscommit; }