FindName Method

Names Object

Description

Returns the ordinal value of a string in the Names collection.

Visual Basic

lOrdinal = Names.FindName ( [Name :=] strName )

C++

HRESULT pNames->FindName (
SQLOLE_LPCSTR
szName,
LPLONG
plOrdinal );

Elements

Element Type Description

lOrdinal Long Returned ordinal value into the collection. For Visual Basic the first ordinal value is number 1. For C++ the first ordinal value is 0.
strName String String to find.