[Home] [Back] [Up] [<<] [>>]

FieldNames

The names of the fields in the input file.

Syntax

int reportGetFieldNames(int iIndex, char *s);

int reportPutFieldNames(int iIndex, const char *sNewValue);

Syntax description

iIndexthe index of the field. 1 for the first field, 2 for the second, up to FieldCount.
spointer to the buffer to receive the name of the field as specified in the spec.
sNewValuenull-terminated string specifying the name of the field.
Return values

GetFieldNames returns zero. If iIndex is out-of-bounds, the buffer will be filled with an empty string.
PutFieldNames returns zero on success, and an error number if iIndex is out of bounds.

Remarks

First set FieldCount to the number of fields, then set the names via FieldNames.