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

FieldSizes

The sizes of the fields in a fixed-length file
or the maximum size of the fields in a delimited file.

Syntax

int reportGetFieldSizes(int iIndex, int * i);

int reportPutFieldSizes(int iIndex, int iNewValue);

Syntax description

iIndexthe index of the field. 1 for the first field, 2 for the second, up to FieldCount.
ipointer the integer that receives the size of the field, as specified in the spec.
iNewValuespecifies the size of the field.
Return values

GetFieldSizes returns zero. If iIndex is out-of-bounds, i will receive zero..
PutFieldSizes 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.