BOOL appendRecord(BOOL blankrecord);

The function appendRecord() adds a new record to the end of file.
If you pass "true", the record will be empty.
If you pass "false", the new record will contain information from internal memory.


{
    // copy record
    dbf->readRecord(10);
    dbf->appendRecord(FALSE);
    // modify some values
    dbf->setField(0, "something", 12.34);
    dbf->appendRecord(FALSE);
    // add empty record
    dbf->appendRecord(TRUE);
    // your code
}