void SetSourceTableName( LPCTSTR lpszSrcTableName );
throw( CDaoException, CMemoryException );
Parameters
lpszSrcTableName
A pointer to a string expression that specifies a table name in the external database. For a base table, the setting is an empty string ("").
Remarks
Call this member function to specify the name of an attached table or the name of the base table on which the CDaoTableDef object is based, as it exists in the original source of the data. You must then call RefreshLink. This property setting is empty for a base table and read/write for an attached table or an object not appended to a collection.
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 "SourceTableName Property" in DAO Help.
CDaoTableDef Overview | Class Members | Hierarchy Chart
See Also CDaoTableDef::RefreshLink, CDaoTableDef::GetSourceTableName