Click to See Complete Forum and Search --> : DAO Status


Andrew
November 25th, 1999, 08:34 AM
What is the property that I can use to return whether a DAO Recordset is opened or closed?

Thanks,

Andrew

November 26th, 1999, 02:23 PM
If you close recordset, set it to Nothing explicitly, using this sintax:
Set RS = Nothing.
Then if you need to know if that recordset exists, you can check it with IsObject function. Something like this:

If IsObject(RS) then MsgBox "It's alive"




HTH
Vlad