- (NSString*) fieldName: (NSInteger) fieldno;

The function fieldName() returns a name of a field by index.
If the index is out of range then the function returns NULL.


{
    // your code
    for (NSInteger i=0; i < [dbf fieldCount]; i++)
        NSLog(@"%@", [dbf fieldName:i] );
    // your code
}