Close recordset

J

JCP

How can I detect if any recordset is open and then close it?
Is it possible to do this procedure?

I appreciate any suggestions.
Thanks
jcp
 
J

Jamie Collins

How can I detect if any recordset is open and then close it?

Detective work shouldn't be required. If your app 'owns' a number of
recordsets then it should know everything about them, including when
and how to close them. FWIW ADO is pretty good at automatically
closing recordsets when they go out of scope.

Jamie.

--
 
J

JCP

Hi jamie,
do you mean, we don't need to use rs.close or set rs=nothing?

Thanks a lot
 
P

Pieter Wijnen

Still a good practise to destroy objects when you're through with them

Pieter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top