Export (0) Print
Expand All


Call this member function to retrieve the number of tables defined in the database.

short GetTableDefCount( );

Return Value

The number of tabledefs defined in the database.


GetTableDefCount is useful if you need to loop through all tabledefs in the database's TableDefs collection. To obtain information about a given table in the collection, see GetTableDefInfo.

For more information about tables and tabledef objects, see the article DAO TableDef.

See Also

CDaoDatabase Overview | Class Members | Hierarchy Chart

© 2015 Microsoft