Hi
I used to link Oracle table manualy to Access DB, but somtimes the table becomes read only when the app is moved to another PC, so I want to refresh the link through code evry time the user open the app.
My string connection :
strConn = "ODBC;DSN=test;PWD=MyPass;DBA=W;"
if the table is't linked:
Set tbl = db.CreateTableDef(strTblName, dbAttachSavePWD, strTblName, strConn)
db.TableDefs.Append tbl
else:
Set tbl = db.TableDefs(strTblName)
tbl.Connect = strConn
tbl.RefreshLink
In both cases, the table is not updatable but when link manualy with the same DNS - it is.
How can I link/RefreshLink and get an updatable table??
Thanks in advance
I used to link Oracle table manualy to Access DB, but somtimes the table becomes read only when the app is moved to another PC, so I want to refresh the link through code evry time the user open the app.
My string connection :
strConn = "ODBC;DSN=test;PWD=MyPass;DBA=W;"
if the table is't linked:
Set tbl = db.CreateTableDef(strTblName, dbAttachSavePWD, strTblName, strConn)
db.TableDefs.Append tbl
else:
Set tbl = db.TableDefs(strTblName)
tbl.Connect = strConn
tbl.RefreshLink
In both cases, the table is not updatable but when link manualy with the same DNS - it is.
How can I link/RefreshLink and get an updatable table??
Thanks in advance
Last edited: