Microsoft Access allows you to import data from external sources and export database objects to other formats. You can work with Excel spreadsheets, text files, CSV files, other Access databases, and several supported external data sources.
Importing means bringing data from an external file or source into Microsoft Access. Depending on the source and import options, Access can create a new table or add data to an existing table.
Exporting means sending data from Microsoft Access to another file format or destination. It is useful when information needs to be shared, analyzed, printed, or used by another application.
Follow these steps to import data from Excel:
| StudentID | StudentName | Course | Fee |
|---|---|---|---|
| 101 | Rahul Kumar | ADCA | 10000 |
| 102 | Priya Singh | Tally Prime | 4000 |
| 103 | Amit Kumar | Web Development | 15000 |
After importing, open the destination table and verify that the records and data types are correct.
A CSV file stores tabular data as text, commonly separating values with commas. It can be created by spreadsheet applications and many other systems.
StudentID,StudentName,Course
101,Rahul Kumar,ADCA
102,Priya Singh,Tally Prime
103,Amit Kumar,Web Development
You can reuse objects from another Access database by importing supported objects such as tables, queries, forms, reports, macros, and modules, depending on the source and import options.
This is useful when moving selected tables or other database objects into a new database.
Linking creates a connection to data stored outside the current Access database. Access displays the linked data without importing a separate copy of all the source records into a local table.
| Importing | Linking |
|---|---|
| Creates a local copy of the imported data. | Connects to data in an external source. |
| Later source changes do not automatically update the imported copy. | Changes in the source may be reflected when the linked data is refreshed or accessed. |
| Useful when a separate copy is needed. | Useful when working with data maintained elsewhere. |
The ability to edit linked data depends on the source, permissions, and type of connection.
Follow these steps to export a table:
CSV and text exports are useful when data needs to be transferred to another system or processed by a program.
StudentID,StudentName,Course
101,Rahul Kumar,ADCA
102,Priya Singh,Tally Prime
103,Amit Kumar,Web Development
CSV files generally store values as text and do not preserve all Access features, such as relationships, forms, or report formatting.
Exporting a report to PDF is useful for sharing a formatted document that is easy to view and print.
| Problem | Possible Solution |
|---|---|
| Column names are incorrect. | Check the first row and field headings in the source file. |
| Numbers are imported as text. | Review the source values and destination field data types. |
| Some records fail to import. | Check required fields, duplicate keys, invalid values, and import errors. |
| CSV values appear in one column. | Verify the delimiter selected in the import wizard. |
| Dates appear incorrectly. | Check date formats and regional settings. |
| PDF pages are cut off. | Adjust the report width, margins, and page setup. |
1. What does importing data mean?
2. Which format is commonly used for comma-separated tabular data?
3. Which format is useful for sharing a formatted Access report?