M
Milan
Hello,
I have this problem. I have to change a source (connection string) of
linked tables using VBA. All the tables are of MS Jet type. I tried to
do it this way:
-------
CurrentDb.TableDefs("X").Connect = "MS
Access;PWD=xxx;DATABASE=C:\DB\Y.mdb;TABLE=X"
CurrentDb.TableDefs("X").RefreshLink
-------
but the source was not changed and no msgbox with error description
displayed. I use Access XP.
Thank you very much for your help.
Milan
I have this problem. I have to change a source (connection string) of
linked tables using VBA. All the tables are of MS Jet type. I tried to
do it this way:
-------
CurrentDb.TableDefs("X").Connect = "MS
Access;PWD=xxx;DATABASE=C:\DB\Y.mdb;TABLE=X"
CurrentDb.TableDefs("X").RefreshLink
-------
but the source was not changed and no msgbox with error description
displayed. I use Access XP.
Thank you very much for your help.
Milan