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 ?
 
Top