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


CDaoQueryDef::SetReturnsRecords

Call this member function as part of the process of setting up a SQL pass-through query to an external database.

void SetReturnsRecords( 
   BOOL bReturnsRecords  
);

Параметры

  • bReturnsRecords
    Pass TRUE if the query on an external database returns records; otherwise, FALSE.

Заметки

In such a case, you must create the querydef and set its properties using other CDaoQueryDef member functions. For a description of external databases, see SetConnect.

Требования

Header: afxdao.h

См. также

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

CDaoQueryDef Class

CDaoQueryDef Members

Hierarchy Chart

CDaoQueryDef::GetReturnsRecords

CDaoQueryDef::SetName

CDaoQueryDef::SetSQL

CDaoQueryDef::SetConnect

CDaoQueryDef::SetODBCTimeout