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