PreviousOLE DB Provider Guide ( revision 1) Next

Creating a Recordset Using an Existing Connection

Show this topic in Library frames

You can create a connection and then use that connection to create multiple recordsets. This is more efficient than creating a separate connection for each recordset.

rs.Open "Course", MyExistingConnection, adOpenDynamic, 
adLockBatchOptimistic, adCmdTableDirect 

Chapter contents
Publication contents

Prev topic: Creating a Recordset Using the Location Parameter
Next topic: Navigating Through and Manipulating Data