CDaoRecordset::GetType

short GetType( );
throw( CDaoException, CMemoryException );

Return Value

One of the following values that indicates the type of a recordset:

  • dbOpenTable   Table-type recordset

  • dbOpenDynaset   Dynaset-type recordset

  • dbOpenSnapshot   Snapshot-type recordset

Remarks

Call this member function after opening the recordset to determine the type of the recordset object.

For more information about  creating recordsets, see the article in Visual C++ Programmer's Guide. For related information, see the topic "Type Property" in DAO Help.

CDaoRecordset OverviewClass MembersHierarchy Chart

See Also   CDaoRecordset::GetDefaultDBName, CDaoRecordset::GetDefaultSQL, CDaoRecordset::GetName, CDaoRecordset::GetSQL