void SetName( LPCTSTR lpszName );
throw( CDaoException, CMemoryException );
Parameters
lpszName
A pointer to a string expression that specifies a name for a table.
Remarks
Call this member function to set a user-defined name for a table. The name must start with a letter and can contain a maximum of 64 characters. It can include numbers and underscore characters but cannot include punctuation or spaces.
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 "Name Property" in DAO Help.
CDaoTableDef Overview | Class Members | Hierarchy Chart
See Also CDaoTableDef::RefreshLink, CDaoTableDef::SetConnect