}
seek(current_record-1);
file.readByte(); // don't change delete indicator let delete/undelete do that.
Index NDXes;
for (i=1; i<= jNDXes.size(); i++)
{
NDXes = (Index) jNDXes.elementAt(i-1);
NDXes.check_for_duplicates(current_record);
}
for (i=1; i<= jNDXes.size(); i++) // reposition record pointer and current key for index update
{
NDXes = (Index) jNDXes.elementAt(i-1);
NDXes.find_entry(NDXes.get_active_key(), current_record);
}
for (i=0; i < fldcount; i++)
{
tField = (Field) fld_root.elementAt(i);
if (tField instanceof MemoField) tField.update();
else tField.write();
}
for (i=1; i<= jNDXes.size(); i++)
{
NDXes = (Index) jNDXes.elementAt(i-1);
NDXes.update(current_record);
}
}