CDaoQueryDef::GetName
Call this member function to retrieve the name of the query represented by the querydef.
CString GetName( );
Return Value
The name of the query.
Remarks
Querydef names are unique user-defined names. For more information about querydef names, see the topic "Name Property" in DAO Help.
Requirements
Header: afxdao.h