[This is preliminary documentation and subject to change.]
The GetField method returns the value of the specified field from a record in the recordset object. This method is overloaded and you can use either a LPCTSTR or a long to index the index.
COleVariant GetField(
LPCTSTR pstrIndex
);
COleVariant GetField(
long lIndex
);
The value of the field specified by the index parameter.
Windows NT: Unsupported.
Windows: Requires Windows 98.
Windows CE: Unsupported.
Header: Declared in dbsets.h.
Import Library: Use dbsets.lib or dbsetsSt.lib.
Unicode: Yes.