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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ADODC

Status
Not open for further replies.

ashishjain

Programmer
Feb 20, 2002
32
IN
hi all,

I am using ADODC in my application. we can close connection in Runtime ADO. Is there any method to close ADODC connections?

Regards,

Ashish Jain
 
You mean ADODB. The close connection is the same for each.

DIM cn as adodb.connection

set cn as new adodb.connection
cn.open (connect string)

cn.close ' close the connection'
 
No i am talking about ADO design time control(ADODC). Its heavy to use in any application so can i close database connection any way when we unload form.

Thanx & Regards,

Ashish
 
I am having trouble using ADODB, I use that to open a database in Access 2002 and I get an error, if anyone has an idea, I would be grateful.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top