{ // your code NSLog( @"Reccount = %ld", [dbf recCount] ); [dbf zap]; NSLog( @"Reccount = %ld", [dbf recCount] ); // your code }