ADODB Connection

J

Joe Delphi

Hi,

I want to test to see if my connection is already open before I call
the open method. Something like this:

Dim DBConn As ADODB.Connection

Set DBConn As New ADODB.Connection
..
..
<Bunch of stuff here>


If DBConn is Not Open Then
DBConn.Open

Can someone tell me which property to check to determine if a connection
already exists?


Thanks,
JD
 

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