BOOL truncate(int recno);

The function truncate(N) removes all records after N.
This operation cannot be undone.


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