Importing Records From

Importing Records From

<p>ITBIS 251 MS ACCESS</p><p>Importing Records from an External Source</p><p>When adding data to tables, you might find that some of the data that you want in your database already exists in a Microsoft Excel worksheet, an HTML file, a text file, or a table from another database program. Although you could print the data and type it in your database, it is easier to import the information into Access from the source.</p><p>To import data:  The field names in the source must be identical to the field names in the table where the data is being copied.  The data types in the source must be compatible with the data types in the table where the data is being copied.</p><p>For example, if a field in the source contains text and you attempt to copy it into a table for which the corresponding field is a number, you’ll receive an error message. THE BOTTOM LINE Since a database management system (DBMS) such as Access provides such powerful and flexible methods for working with data, you might want to convert other existing files to a database table. Access can import text data from a word processing file, spreadsheet data, Web pages, or even from other database files and database programs and automatically create Access tables from those files, or add data to existing tables. </p><p>Import Excel spreadsheet data to an Access table</p><p>You are going to practice how to import data from an excel spreadsheet to the CDs database (Table Exercise 2).</p><p>1. On the File menu, point to Get External Data, and click Import. 2. Click the files of type down arrow, and locate and click on the Microsoft Excel (*.xls) option. 3. Select the file name to select it (CDs data), and then click Import. 4. The import wizard will appear, and then follow up the wizard steps.</p><p>Prepared by: Sara Ghanem ITBIS 251 MS ACCESS</p><p>5. Select the needed worksheet, in which the data related to the CDROM table are stored.</p><p>6. Include the column headings that should match the field names in your Access table (CDROM).</p><p>7. Select to import the needed data in the CDROM table existing in the CDs Database (MS Access).</p><p>Prepared by: Sara Ghanem ITBIS 251 MS ACCESS</p><p>8. Click finish. Now you can work with your Access tables.</p><p> If it takes a long time to import a spreadsheet, an error might have occurred. You can cancel the import process by pressing the Ctrl+Break keys.</p><p>Note: the above steps are only for importing data to an existing table in MS Access. If you are importing data to a new table in MS Access, then an additional step is going to ask you for selecting a Primary Key for your table.</p><p>Prepared by: Sara Ghanem</p>

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    3 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us