CDaoTableDef::GetFieldCount

Call this member function to retrieve the number of fields defined in the table.

short GetFieldCount( );

Return Value

The number of fields in the table.

Remarks

If its value is 0, there are no objects in the collection.

For related information, see the topic "Count Property" in DAO Help.

Requirements

Header: afxdao.h

See Also

Reference

CDaoTableDef Class

Hierarchy Chart

CDaoTableDef::GetFieldInfo

CDaoTableDef::GetIndexInfo

CDaoTableDef::GetIndexCount

Other Resources

CDaoTableDef Members