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( );

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 Note

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

For related information, see the topic "Append Method" in DAO Help.

Header: afxdao.h

Show:
© 2014 Microsoft