CDaoTableDef::GetSourceTableName

CString GetSourceTableName( );
throw( CDaoException, CMemoryException );

Return Value

A CString object that specifies the source name of an attached table, or an empty string if a native data table.

Remarks

Call this member function to retrieve the name of an attached table in a source database. An attached table is a table in another database linked to a Microsoft Jet database. Data for attached tables remains in the external database, where it can be manipulated by other applications.

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 OverviewClass MembersHierarchy Chart

See Also   CDaoTableDef::GetRecordCount, CDaoTableDef::SetSourceTableName