E
Edwinah63
in a previous post i explained that i was having trouble linking ODBC
tables via code, and that the connection link was being cached.
i received the following response [edit]:
***
You are using DAO methods on Application.CurrentDB, i.e.
Application.dbengine.workspaces(0).databases(0)
dbEngine caches ODBC connections. Since you do not wish
to use cached connections, you can
(1) Change the timeout interval, or
(2) use a separate dbEngine object.
set dbe = createobject("dao.dbengine.36")
with a separate database object:
set db = dbe.opendatabase()
******
i have googled everywhere and i cannot find where to:
1) change the timeout interval of the ODBC connection
2) any code that demonstrates how to use dbengine.36 to link tables
with the correct credentials.
if anyone can explain what to do i would appreciate it immensely!!
regards
Edwinah63
link to original post
http://groups.google.com.au/group/m...dwinah63+access&rnum=1&hl=en#57aa5c57a9ce1fb0
tables via code, and that the connection link was being cached.
i received the following response [edit]:
***
You are using DAO methods on Application.CurrentDB, i.e.
Application.dbengine.workspaces(0).databases(0)
dbEngine caches ODBC connections. Since you do not wish
to use cached connections, you can
(1) Change the timeout interval, or
(2) use a separate dbEngine object.
set dbe = createobject("dao.dbengine.36")
with a separate database object:
set db = dbe.opendatabase()
******
i have googled everywhere and i cannot find where to:
1) change the timeout interval of the ODBC connection
2) any code that demonstrates how to use dbengine.36 to link tables
with the correct credentials.
if anyone can explain what to do i would appreciate it immensely!!
regards
Edwinah63
link to original post
http://groups.google.com.au/group/m...dwinah63+access&rnum=1&hl=en#57aa5c57a9ce1fb0