CRecordset::GetODBCFieldCount

short GetODBCFieldCount( ) const;

Return Value

The number of fields in the recordset.

Remarks

Call this member function to retrieve the total number of fields in your recordset object.

For more information about creating recordsets, see the article Recordset: Creating and Closing Recordsets (ODBC) in Visual C++ Programmer’s Guide.

CRecordset OverviewClass MembersHierarchy Chart

See Also   CRecordset::GetFieldValue