Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Call this member function if you want to change the name of a querydef that is not temporary.
void SetName(
LPCTSTR lpszName
);
Parameters
- lpszName
A string that contains the new name for a nontemporary query in the associated CDaoDatabase object.
Remarks
Querydef names are unique, user-defined names. You can call SetName before the querydef object is appended to the QueryDefs collection.
Requirements
Header: afxdao.h
See Also
Reference
CDaoQueryDef::SetReturnsRecords