CDaoRecordset::GetFieldCount

short GetFieldCount( );
throw( CDaoException, CMemoryException );

Return Value

The number of fields in the recordset.

Remarks

Call this member function to retrieve the number of fields (columns) defined in the recordset.

For more information about creating recordsets, see the article DAO Recordset: Creating Recordsets in Visual C++ Programmer's Guide. For related information, see the topic "Count Property" in DAO Help.

CDaoRecordset OverviewClass MembersHierarchy Chart

See Also   CDaoRecordset::GetFieldInfo, CDaoRecordset::GetFieldValue, CDaoRecordset::GetIndexCount, CDaoRecordset::GetIndexInfo