BOOL pack();

The function pack() removes records marked as deleted from a dbf file. It also removes not used blocks from memo file.
This operation cannot be undone.


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