For your information, class TDataRow is created to be used in the place of scatter/gather logic, but this class is robust and safer. We can also address the fieldnames as oRec:fieldname.
TDataRow works with DBF, TDatabase, ADO Recordset, TRecSet, DolphinQry exactly the same way.