CDaoRecordset::GetFieldCount
Call this member function to retrieve the number of fields (columns) defined in the recordset.
short GetFieldCount( );
Return Value
The number of fields in the recordset.
Remarks
For related information, see the topic "Count Property" in DAO Help.
Requirements
Header: afxdao.h