func writeRecord(_ recno: Int) -> Bool
Function writeRecord() writes a record from internal memory block to the file.
You have to fill the memory with necessary values using setField()
You have to fill the memory with necessary values using setField()
{
// your code
for row in 0..<dbf.recCount()
{
dbf.readRecord(row);
// change data
dbf.writeRecord(row);
}
}