OrdinalOfNominalID

Declaration: TDataTable.OrdinalOfNominalID (Col: integer; ID: string; IgnoreCase: boolean): integer;
The function OrdinalOfNominalID returns the ordinal number of the nominal identifier ID for the column Col. The parameter IgnoreCase controls whether the search for the nominal identifier is case sensitive. In general, this parameter should be set to FALSE. If the ID does not exist, or the Col parameter is outside the valid range (1 to NrOfColumns) the function returns a zero value. A valid ordinal must be in the range from 1 to DT_MaxNominalIDs.

Hint: Please note that the same identifier may return different ordinal values for different columns.