The Linked Table Manager

The Linked Table Manager is an important tool for working with linked tables. It allows you to move tables to another folder or another drive and then update the link to that table.

To move and update table links, follow these steps:

  1. Choose Tools | Database Utilities | Linked Table Manager. The Linked Table Manager appears (see Figure 18.12).

    Figure 18.12. The Linked Table Manager.

    graphics/18fig12.jpg

  2. Select the linked table(s) you want to update.

  3. Select the Always Prompt for New Location check box.

  4. Click OK.

  5. Select the folder or drive to which you have moved the table.

  6. Select the table and then click Open.

  7. Click OK.

You might at some time have a link that you no longer need. For example, you might import data because it is no longer necessary to utilize the legacy system that you have in place. The following are the steps necessary to remove such a link:

  1. Select the link you want to remove.

  2. Press the Delete key. The dialog box shown in Figure 18.13 appears.

    Figure 18.13. Access prompting you to remove a link.

    graphics/18fig13.jpg

  3. Click Yes to remove the link. The link is removed.

graphics/book_icon.gif

It is important to note that this process does not remove the linked object. It simply removes the link.


Task: Linking Tables from One Database to Another and Exporting Data to Other Databases

graphics/todo_icon.gif

Follow these steps to practice the skills that you have learned in this hour:

  1. Open the Northwind database that ships with Access.

  2. Export the Orders table as an Excel spreadsheet.

  3. Export the Products table as a text file.

  4. Import the Orders spreadsheet into the Northwind database and name it Orders2. Base the primary key on the OrderID field.

  5. Import the Products text file into the Northwind database and name it ProductsBackup. The ProductId field is the primary key.

  6. Create a new database called Northwind2003.

  7. Import the Orders table from Northwind into Northwind2003.

  8. Link the Customers table from the Northwind2003 database to the Northwind database.

  9. Add the records shown in Table 18.1 to the Customers table in the Northwind2003 database.

    Table 18.1. Records to Add to the Customers Table

    CustomerID

    CompanyName

    ContactName

    ContactTitle

    City

    ALEXI

    Alexis' Flowers

    Alexis Balter

    President

    Oak Park

    BREND

    Brendan's Trucking

    Brendan Balter

    CEO

    Westlake

  10. Add the records shown in Table 18.2 to the Orders table in the Northwind2003 database.

    Table 18.2. Records to Add to the Orders Table

    ClientID

    EmployeeID

    OrderDate

    Freight

    ALFKI

    1

    6/2/2001

    100

    QUICK

    4

    7/4/2001

    300

  11. Close the Northwind2003 database and open the Northwind database.

  12. Open the Orders table and notice that the records you added to this table in the Northwind2003 database do not appear in this table.

  13. Close the table.

  14. Open the Customers table and notice that the records you added to this table in the Northwind2003 database appear in this table.

  15. Close the table and the database.



    Part III: Creating Your Own Database and Objects
    Part V: Advanced Topics