CDaoTableDef::Append

virtual void Append( );
throw( CDaoException, CMemoryException );

Remarks

Call this member function after you call Create to create a new tabledef object to save the tabledef in the database. The function appends the object to the database’s TableDefs collection. You can use the tabledef as a temporary object while defining it by not appending it, but if you want to save and use it, you must call Append.

Note   If you attempt to append an unnamed tabledef (containing a null or empty string), MFC throws an exception.

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 "Append Method" in DAO Help.

CDaoTableDef OverviewClass MembersHierarchy Chart

See Also   CDaoTableDef::Create