Link to home
Start Free TrialLog in
Avatar of graham-n
graham-n

asked on

vba to relink oracle tables in msaccess 2007

I want to use msaccess 2007 linked ODBC Oracle tables with different oracle DBs e.g. dev, uat.

e.g. original msaccess  link is to Oracle table schema1.tablex in SIDA. Access would call this schema1_tablex.

I want a script to relink schema1_tablex to e.g. schema2.tablex in SIDB. Need msaccess to still use the name schema1_tablex. As you can see, the Oracle table name stays the same, but schema and SID need to be able to be respecified when required.

I need a script, not the linked table manager in the menu.
Avatar of Jeffrey Coachman
Jeffrey Coachman
Flag of United States of America image

Avatar of graham-n
graham-n

ASKER

the link above looks like it is for msaccess tables. Oracle tables are linked by ODBC, the do not have a path.
ASKER CERTIFIED SOLUTION
Avatar of Nick67
Nick67
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I will attempt to work out a solution using parts of the replies.