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  
);

Parameters

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

Remarks

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.

Requirements

Header: afxdao.h

See Also

Concepts

CDaoQueryDef Class

CDaoQueryDef Members

Hierarchy Chart

CDaoQueryDef::GetReturnsRecords

CDaoQueryDef::SetName

CDaoQueryDef::SetSQL

CDaoQueryDef::SetConnect

CDaoQueryDef::SetODBCTimeout