T
Terrell Miller
production, ect..) that have the same table structure. I-----Original Message-----
I have 4 different Oracle database environments(test,
need to write an access application that will work for all
environments. If a database change is made which is
applied to all 4 Oracle instances, I want to be able to go
into my access application and make the application change
needed, one time, and not have to make the change for all
environments. If anyone can shed some light on this, I'd
appreciate it.
Connie,
If the tables will be identical, then what you can do is:
* set up separate DSNs for each Oracle database.
* In Access, link to the tables of one Oracle database
* Build your application around that data source, with
whatever queries, forms and reports you need.
* When you need to change to another database, you just
need to go into Tools/Database Applications/Linked Table
Manager. Click the "Select All" button and make sure
the "Always prompt for new location" checkbox is checked,
then click OK. The next dialog box will ask you for the
DSN you want to connect with. Choose whichever one you
need. (Sounds like you may wind up with separate Access
front-ends one for each of your databases, in which case
you'd choose the DSN for each one).
That will change the table links to the new database, and
the rest of your application will never know the
difference. It's still pulling data from the "same" table
as far as Access is concerned.
You'd also use this process when teh design of a
particular table changes, except that you'd only need to
select the appropriate table(s) instead of Select All, and
you wouldn't check the "always prompt for new location"
box.
HTH,