- (BOOL) insertRecord: (NSInteger) recno blank: (BOOL) blankrecord;
The function appendRecord() adds a new record to the end of file.
If you pass "true", the record will be empty.
If you pass "false", the new record will contain information from internal memory.
If you pass "true", the record will be empty.
If you pass "false", the new record will contain information from internal memory.
{
// copy record
[dbf readRecord:10];
[dbf insertRecord:11 blank:FALSE];
// modify some values
[dbf setField:0 asString:@"something" asDouble:12.34];
[dbf insertRecord:12 blank:TRUE];
// add empty record
[dbf insertRecord:14 blank:TRUE];
// your code
}