Expand Minimize
This topic has not yet been rated - Rate this topic

CDaoRecordset::GetType

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

short GetType( );

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

For more information about creating recordsets, see the article DAO Recordset: Creating Recordsets. For related information, see the topic "Type Property" in DAO Help.

See Also

CDaoRecordset Overview | Class Members | Hierarchy Chart | CDaoRecordset::GetDefaultDBName | CDaoRecordset::GetDefaultSQL | CDaoRecordset::GetName | CDaoRecordset::GetSQL

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.