7.1. Linking, Importing, and Exporting Overview

Linking to external data means creating a pointer to an external data source that allows you to interact directly with the underlying data. Importing external data literally imports a copy of the data into your application. Exporting data refers to the idea of extracting data from your application to an external file or format.

Here are some situations when you should consider linking:

  • The data resides on a database server that your application and others can use.

  • The data is used by another program that requires the native file format.

  • The underlying data needs to be updated on a regular basis in its native format.

Here are some instances when you should consider importing:

  • An existing system is being migrated to a new application and the data from the old system will be used in the new application. (In some cases, you may be able to migrate to another system but keep the data on a database server without needing to import the data.)

  • Numerous data operations must be run against the data from another source. You can obtain performance improvements by importing the data, but the underlying data will be out of sync if you make any changes to the data after it is imported.

Access allows you to link to and import from data sources such as Access (Jet) databases, SQL Server databases, other ODBC databases, dBase, Paradox, Microsoft Sharepoint, XML documents, HTML documents, text files, Microsoft Exchange, Microsoft Outlook, and spreadsheets ...

Get Beginning Access™ 2007 VBA now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.