Hi,
My problem occurs while connecting to DB2 via DAO 3.51
My application opens an ODBC DB2 database. After I open several recordsets
on this database. As follows:
set db=OpenDatabase("", 0, 0, strConnectionString)
set rc1= db.opendatabase("SELECT * FROM TB1",dbopendynaset)
set rc2= db.opendatabase("SELECT * FROM TB1",dbopendynaset)
set rc3= db.opendatabase("SELECT * FROM TB1",dbopendynaset)
....
Connection string is a regular connection string. However, when I look to
DB2's connection count, I see a new connection to each recordset. This
causes the server to halt. I've checked the ODBC trace, I can see that each
recordset opens a new connection to database using "SQLConnect". How can I
stop this?
Jan Devrim