how to check recordset object exist ?

B

Bonnie

I put some code like the following at which rs is a recordset object

rs.close
set rs = nothing

I want to add some checking for rs object existence before run the code " rs.close ..."
which will raise error if the object does not exist.
Any idea ?
 

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