Microsoft Access
  Home arrow Microsoft Access arrow Page 2 - Importing Data into MS Access with ODBC
ASP Free Forums 
.NET  
ASP  
ASP Code  
ASP.NET  
ASP.NET Code  
BrainDump  
C#  
Code Examples  
Database  
Database Code  
IIS  
Microsoft Access  
MS SQL Server  
Silverlight  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
ASP Web Hosting  
ASP.NET Web Hosting 
Windows Web Hosting
 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
MICROSOFT ACCESS

Importing Data into MS Access with ODBC
By: Jayaram Krishnaswamy
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 24
    2005-10-25

    Table of Contents:
  • Importing Data into MS Access with ODBC
  • Establishing a link to a database file
  • Configuring an ODBC Source
  • Configuring the New Data Source to MSDE
  • Importing the tables from MSDE
  • Imported table/Original table comparison

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Importing Data into MS Access with ODBC - Establishing a link to a database file


    (Page 2 of 6 )

    Create a blank mdb file. The new database will have a default name, db1.mdb and it is recommended that you change this name to reflect your application. Here, it is called LinkToImport.mdb. The database is created in the default directory, C:\My Documents. At this point there are no user created objects, except for several utilities needed to create various objects, such as tables, queries, forms, reports, and so forth, as shown in this picture.

    blank database created new

    Establishing a Link

    Now click on File ->Get External Data-> Link Tables...as shown in this picture.

    Import by linking

     

    This opens up the My Documents folder for browsing, so that you can locate the file. It is quite possible that files may be located in other locations as well. Hence it is advisable that a preliminary search is made to determine the location of the various files. Clicking on the drop-down, Files of type: the various file types that Access can import into the database are displayed as shown.

    Import fiel formats supported

    The different file types supported are shown in the following list. In this tutorial we will be looking at the last item in the list, the ODBC databases.

    • Microsoft Access(*.mda; *.mdb; *.mde)
    • dBase III, IV and 5 (*.dbf)
    • Microsoft Excel (*.xls)
    • Exchange()
    • HTML documents(*.htm, *.html)
    • Outlook()
    • Paradox(*.db)
    • Text files with several extensions(*.csv, *.txt, *.asc, *.tab)
    • ODBC databases

    More Microsoft Access Articles
    More By Jayaram Krishnaswamy


       · ODBC makes connecting to databases so easy. From legacy text file stored data to...
       · You did if we may say two very excellent ASP SQL Server tutorials. One was on,...
       · Yes you can import the tables. The tables will be part of your MS Access database...
     

    MICROSOFT ACCESS ARTICLES

    - Converting a MySQL Database to an Excel Work...
    - Linking SQL Express 2005 Tables to MS Access...
    - Working with Access Projects in Access 2007
    - Exploring Access 2007
    - Working with Stored Procedures in an MS Acce...
    - Creating and Using Action Queries
    - Creating Data Access Pages with Charts using...
    - Advanced Ideas using VBA
    - VBA Details
    - Updating Records in MS Access
    - Using ADO`s Record Object with URLs
    - Exporting XML from MS Access 2003
    - Importing XML into MS Access 2003
    - On Using Pass-through Queries in MS Access
    - Distributed Queries in MS Access





    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 4 Hosted by Hostway
    Stay green...Green IT