{ // your code [dbf clearRecord]; [dbf setField:0 asString:@"some value" asDouble:0]; [dbf setField:1 asString:nil asDouble:123.45]; [dbf appendRecord:NO]; // your code }