University of Wisconsin Help Desk Knowledgebase


 ADVANCED

InfoAccess - Linking MS Access to InfoAccess Database


Instructions for setting up MS Access to query the InfoAccess data base.

Before you are able to have MS Access query an Oracle database such as InfoAccess, you need:
Linking Instructions
  1. Open MS Access 2000/2002/XP. Create a blank database or open an existing database.

  2. create table

  3. You will either link tables from the InfoAccess database to the MS Access database or you will import the InfoAccess tables into the MS Access database.

Linking Tables

When you link tables, you are essentially using InfoAccess as your back-end. No design changes to the tables will be allowed, but the data can be read and edited. Any data changes will be reflected in the InfoAccess database.
  1. Go to File-->Get External Data-->Link Tables.

  2. Linking tables

  3. Using the drop-down menu at the bottom of the "Link" dialogue box, change the "Files of Type" to ODBC Databases ().

  4. Link Menu

  5. The "Select Data Source" dialogue box immediately comes up. Go to the Machine Data Source tab and select your database, such as UW Data Warehouse or InfoAccess (this is simply a naming preference). Click OK.

  6. Select Data Source menu

  7. At the "Microsoft ODBC for Oracle Connect" or "Oracle8 ODBC Driver Connect" dialogue box, enter the User Name and Password assigned to you for the InfoAccess database. Use InfoAccess as the "Server". Click OK.

  8. Login

  9. At the "Link Tables" dialogue box, select the table(s) to link to and click OK.

  10. Link Tables menu

  11. Once the tables start linking, a "Select Unique Record Identifier" dialogue box will come up for each table selected. Just click the OK button without selecting fields.

  12. Select Unique Record Identifier menu

  13. When finished, the database design window will display the linked tables with an 'arrow and globe' icon indicating they are ODBC linked tables.

  14. Linked Database

Importing Tables

When you import the tables into an MS Access database, you are essentially cutting and pasting the exact tables from InfoAccess into the MS Access database. You will be able to perform design changes on the tables and read and edit the data, but none of the changes will be reflected in the InfoAccess database.
  1. Go to the File-->Get External Data-->Import.

  2. Choosing Import

  3. Using the drop-down menu at the bottom of the "Import" dialogue box, change the "Files of Type" to ODBC Databases ().

  4. Import menu

  5. The "Select Data Source" dialogue box immediately comes up. Go to the Machine Data Source tab and select your database, such as UW Data Warehouse or InfoAccess (this is simply a naming preference). Click OK.

  6. Select Data Source menu

  7. At the "Microsoft ODBC for Oracle Connect" or "Oracle8 ODBC Driver Connect" dialogue box, enter the User Name and Password assigned to you for the InfoAccess database. Enter Infoaccess as the "Server". Click OK.

  8. Login Screen

  9. At the "Import Objects" dialogue box, select the table(s) to import and click OK.

  10. Import Objects menu

  11. When finished, the database design window will display all of the tables imported from the InfoAccess database.

  12. List of Imported Databases



Keywords: MS Access ODBC InfoAccess Linking Tables exporting importing Microsoft databases addingDoc ID: 3563
Owner: Bonnie C.Group: Help Desk
Created: 2005-03-15Updated: 2008-08-19

Did this document help you to answer your question?