Clean Up After DAO "Connection"?

M

MDW

I'm replacing some ADO code with DAO code (and enjoying a marked increase in
speed). However, in DAO I use

Set objDAO-RS = CurrentDB.Execute(strSQL)

whereas in ADO I used to use

Set objADO-Conn = CurrentProject.Connection
Set objADO-RS = objADO-Conn.Execute(strSQL)

To release the resources in ADO, I'd close and set to Nothing both the
recordset and connection objects. However, in DAO there is no connection
object, per se. Is there anything I need to do other than just kill the
recordset?

Access 2000.
 
Top