CDaoRecordset::GetType
Visual Studio .NET 2003
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