anthonyc
asked on
ODBC Direct, Oracle, with Oracle's ODBC Driver
All,
I am attempting to use ODBC Direct to hit the oracle database. Everything works correctly for the first recordset opened, and then when I attempt to open another recordset (whether or not the first one is closed), the program hangs. The ODBC Direct calls are correct (I open a workspace and then a connection). It doesn't matter if I call the queries ASYCH or not, it still hangs..
Any suggestions?
I am attempting to use ODBC Direct to hit the oracle database. Everything works correctly for the first recordset opened, and then when I attempt to open another recordset (whether or not the first one is closed), the program hangs. The ODBC Direct calls are correct (I open a workspace and then a connection). It doesn't matter if I call the queries ASYCH or not, it still hangs..
Any suggestions?
The above was posted as a comment. If it solves your problem, let me know and I'll resubmit it as an answer.
ASKER
No...... That's not what I am doing. I am opening 1 workspace, 1 Connection, many recordsets.
I tried substituting Intersolv's driver, no luck. I wrote a little test program using ODBC Direct on 1 form, RDO ont he other. RDO works perfectly, ODBC direct hangs
I tried substituting Intersolv's driver, no luck. I wrote a little test program using ODBC Direct on 1 form, RDO ont he other. RDO works perfectly, ODBC direct hangs
anthonyc,
Try to set QueryTimeout property to zero after you open the conneciton.
Example
=======
Set Cn = Ws.OpenConnection("", dbDriverNoPrompt, False, strConn)
Cn.QueryTimeout = 0
Bin Huwairib
Try to set QueryTimeout property to zero after you open the conneciton.
Example
=======
Set Cn = Ws.OpenConnection("", dbDriverNoPrompt, False, strConn)
Cn.QueryTimeout = 0
Bin Huwairib
ASKER
resubmit that as an answer, it seemed to work.
Anthony
Anthony
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
If so, don't.