Поделиться через


CDaoQueryDef::SetName

Call this member function if you want to change the name of a querydef that is not temporary.

void SetName( 
   LPCTSTR lpszName  
);

Параметры

  • lpszName
    A string that contains the new name for a nontemporary query in the associated CDaoDatabase object.

Заметки

Querydef names are unique, user-defined names. You can call SetName before the querydef object is appended to the QueryDefs collection.

Требования

Header: afxdao.h

См. также

Основные понятия

CDaoQueryDef Class

CDaoQueryDef Members

Hierarchy Chart

CDaoQueryDef::GetName

CDaoQueryDef::SetSQL

CDaoQueryDef::SetConnect

CDaoQueryDef::SetODBCTimeout

CDaoQueryDef::SetReturnsRecords