Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ADO .open on an already open table 1

Status
Not open for further replies.

ericksoda

Programmer
Oct 22, 2001
60
US
I am converting an application from DAO to ADO. One of the problems I am finding is that in DAO, I could open a recordset multiple times without closing it. In ADO, I cannot be so sloppy because it gives me an error about not opening an already open object.

How do I check if a recordset is already open?

If rs.open = true would be nice, but doesn't work. Is there something like that? I have looked through the documentation and didn't see this one.

Thanks for your help!

David
 
Thanks! I had already coded my app to correctly close the object, but there are times when this will be needed.

David
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top