Using the CSV_Include Project > CSV_Include Reference > CSV_Include Functions > CSV_DB_GetFieldIndex

CSV_DB_GetFieldIndex

Returns the index of a specified field in a specified recordset.

Syntax

CSV_DB_GetFieldIndex(hRecordSet,sField)

#sField:

Name of field.

Return Value

Index of fields if successful, otherwise -1.