Page

13.2.0- Characteristics of the Recordset Object

Created by Brendan Doss.
Last Updated by Brendan Doss.  

PublicCategorized as 13. Using Recordsets.

Not yet tagged
<< 13.1.3- Introducing the ADO ConstantsChapter1313.2.1- What is a Source? >>

Characteristics of the Recordset Object

Perhaps the best way to appreciate some of the important characteristics of a recordset is to consider the method that we use to create a recordset – the Open method. Perhaps the strangest-looking line in ourlast example – and certainly the longest – was the line that used the Open method to open our recordset:

 

  objRS.Open "Movies", strConnect,adOpenForwardOnly, adLockReadOnly, adCmdTable

We looked briefly at the five parameters, but we didn'tstudy them in detail. So let's start work on the demystification of the Recordset object by looking at the syntax of the Open method:

 

recordset.Open Source, ActiveConnection,CursorType, LockType, Options

 

Let's break down the parameters and examine each of them inmore detail.

<< 13.1.3- Introducing the ADO ConstantsChapter1313.2.1- What is a Source? >>

Copyright © 2003 by Wiley Publishing, Inc.

Powered by Near-TimeTerms of Services | Privacy Policy | Security Policy |