Export (0) Print
Expand All

CDaoTableDef::Append

Call this member function after you call Create to create a new tabledef object to save the tabledef in the database.

virtual void Append( );

Remarks

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. For related information, see the topic "Append Method" in DAO Help.

See Also

CDaoTableDef Overview | Class Members | Hierarchy Chart | CDaoTableDef::Create

Show:
© 2015 Microsoft