short GetFieldCount( );
throw( CDaoException, CMemoryException );
Return Value
The number of fields in the table.
Remarks
Call this member function to retrieve the number of fields defined in the table. If its value is 0, there are no objects in the collection.
For more information on tabledefs, see the articles DAO Tabledef and DAO Tabledef: Using Tabledefs in Visual C++ Programmer's Guide. For related information, see the topic "Count Property" in DAO Help.
CDaoTableDef Overview | Class Members | Hierarchy Chart
See Also CDaoTableDef::GetFieldInfo, CDaoTableDef::GetIndexInfo, CDaoTableDef::GetIndexCount