BOOL zap(cdbfapiPlus* handle);

The function zap() removes all records from a dbf file.
This operation cannot be undone.


{
    // your code
    printf( "Reccount = %ld\n", recCount(dbf) );
    zap(dbf);
    printf( "Reccount = %ld\n", recCount(dbf) );
    // your code
}