DBResultSet.FieldNameToNum Method

Retrieves a field index by name.

bool FieldNameToNum(const char[] name, int& field)

Parameters

const char[] name

Name of the field (case sensitive).

int& field

Variable to store field index in.

Return Value

True if found, false if not found.

Errors

No current result set.