CDaoQueryDef::GetReturnsRecords

BOOL GetReturnsRecords( );
throw( CDaoException, CMemoryException );

Return Value

Nonzero if the querydef is based on a query that returns records; otherwise 0.

Remarks

Call this member function to determine whether the querydef is based on a query that returns records. This member function is only used for SQL pass-through queries. For more information about SQL queries, see the Execute member function. For more information about working with SQL pass-through queries, see the SetReturnsRecords member function.

For information about querydefs, see the article DAO Querydef in Visual C++ Programmer's Guide. For related information, see the topic "ReturnsRecords Property" in DAO Help.

CDaoQueryDef OverviewClass MembersHierarchy Chart

See Also   CDaoQueryDef::GetName, CDaoQueryDef::GetSQL, CDaoQueryDef::GetODBCTimeout