Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
void SetName( LPCTSTR lpszName );
throw( CDaoException, CMemoryException );
Parameters
lpszName
A string that contains the new name for a nontemporary query in the associated CDaoDatabase object.
Remarks
Call this member function if you want to change the name of a querydef that is not temporary. Querydef names are unique, user-defined names. You can call SetName before the querydef object is appended to the QueryDefs collection.
For information about querydefs, see the article in Visual C++ Programmer's Guide. For more information about the querydef name, see the topic "Name Property" in DAO Help.
CDaoQueryDef Overview | Class Members | Hierarchy Chart
See Also CDaoQueryDef::GetName, CDaoQueryDef::SetSQL, CDaoQueryDef::SetConnect, CDaoQueryDef::SetODBCTimeout, CDaoQueryDef::SetReturnsRecords