{ // your code for( NSInteger row = 0; row < [dbf recCount]-1; row++ ) { [dbf readField:row fieldno:field]; // your code } }