[ADO] Disconnecting Recordsets executed by Command
Posted on 2003-03-02
How do you disconnect recordsets that were opened this way in ADO...
pCommand->ActiveCommand = pConn;
pRset->CursorLocation = adUseClient;
Dim command AS ADODB.Command
Dim recordset AS ADODB.Recordset
Set command = New ADODB.Command
command.ActiveConnection = conn
Set recordset = New ADODB.Recordset
How to set the ActiveConnection property of pRset to NULL or nothing. Do I use the command object that I opened it with?