Microsoft Access
  Home arrow Microsoft Access arrow Page 3 - 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 - Configuring an ODBC Source


    (Page 3 of 6 )

    In order to connect to a database we need to have what is called an ODBC datasource. This is created using the 32bit ODBC Manager installed when Office 2000 is installed, or gets installed with the operating system. In Window XP Professional, you can get to the ODBC Administrator by going through Start ->Control Panel -> Administrative Tools -> ODBC Sources Short-Cut ->ODBC Data Sources Administrator. Now click on ODBC Data Sources (the previous screen shot) to open the picture shown next.

    This is a part of the ODBC Data Sources Administrator macro. There are two tabs, File Data Source and Machine data Source. By default, it opens up the File Data Source tab in the clicked position. By choosing the Machine Data Source tab all the users of this machine and the system can use the data source. There are a number of data sources already created and these are shown in window.

    machine data source

    User Data Source and ODBC Drivers

    Now click on New... to open the next window, where you choose whether only you can access, or all the users of the machine can access this resource. Here, the User Data Source choice is made. Click Next.

    User data source

    This opens up the next window, where you make a choice as to the driver you may want to use. As you can see here, there are a large number of drivers for diverse kinds of data sources, such MS Access, MS Excel, FoxPro, Oracle, and so on. This window is important as you can see the version and dates for the various drivers. We further assume that we will link to a file on an MSDE (Microsoft SQL Desktop Edition) database on the machine. After choosing SQL Server we click next.

    ODBC Drivers

    You will be shown a short summary screen indicating the type of datasource you created: (User data Source) and the driver you have chosen (SQL Server). Click Finish to this screen. This opens up the next window where you need to configure certain features of the MSDE database.

    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 3 Hosted by Hostway
    Stay green...Green IT