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

Create conn with specific properties

Status
Not open for further replies.

XTnCIS

Programmer
Apr 23, 2002
57
US
I am useing an ODBC driver to connect to an Oracle database through a ADODB connection in Access vba.

However, I'm running into some settings-problems with the connection. I have access to, and can set about 13 connection properties prior to executing the conn.open statement (including the General timeout).

However after running the statement and establishing the connection, there are more like 90 properties of the connection. But they are read-only.

Something is causing my connection to 'time-out?' which Oracle is interpreting as a Ctrl-C and giving me an Oracle error saying that the operation has been canceled.

Does anyone know the proper way to set these conn.properties while doing the conn.open statement. I've tried including them in the open statement (conn.open "ORDER BY Columns in Select List = True") but the setting are ignored?

Any help or pointers would be appreciated. Tek-tips has been a great resource, I'm sure someone out there will know which way to sniff to get closer to the answer.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top