[This is preliminary documentation and subject to change.]
The GetLongField method returns the value of the specified long field from a record in the recordset object.
long GetLongField(
LPCTSTR pstrIndex
);
The value of the field specified by pstrIndex. If you call this method to retrieve a field that has a data type other than long, for example a text field, this method returns 0.
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.