func closeDBFfile()

When you finish working with a DBF file you have to close it.


{
    let dbf = cdbfapi()
    if dbf <> nil { return }

    if dbf.openDBFfile("c:\\tmp\\example.dbf")
    {
        // your code
        dbf.closeDBFFile()
    }
}