SunQuest
 
       Microsoft Access
  Home arrow Microsoft Access arrow Page 2 - Linking SQL Express 2005 Tables to MS Acce...
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  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
ASP Web Hosting  
ASP.NET Web Hosting 
Dedicated Servers 
Actuate Whitepapers 
VeriSign Whitepapers 
Windows Web Hosting
 
IBM® developerWorks 
Sun Developer Network 
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

Linking SQL Express 2005 Tables to MS Access 2007
By: Jayaram Krishnaswamy
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 13
    2007-03-13

    Table of Contents:
  • Linking SQL Express 2005 Tables to MS Access 2007
  • Creating an ODBC Data Source
  • Creating an Access Database
  • Linking Tables
  • Displaying Linked Tables

  • 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

    Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here

    Linking SQL Express 2005 Tables to MS Access 2007 - Creating an ODBC Data Source


    (Page 2 of 5 )

    On a machine with Windows OS it is easy to create an ODBC Data Source -- a go between for your application and the data on your server. From Start-->Control Panel on your machine you get access to the Administrative Tools icon. Double clicking this icon will open up a new window where you can see the Data Sources (ODBC) icon. Double clicking the icon should bring up the next window shown below. This is your gateway to get connected with any of the database servers/programs that provide an ODBC connection option.

    Here a System DSN will be created which all the users on this machine can use to access the data. Click on the Add... button to open the Create New Data Source wizard's window as shown. Here a SQL Server driver was chosen although a SQL Native Client would also do well.

    When you click on the Finish button you will get to the next step of creating a Data Source for a SQL Server.

    You will give a name to the data source, which is called AccWindy here. The description is just a note that Windy is really the Northwind database. The drop-down that follows should reveal all the available servers both local and networked. Here the Hodentek2SQL Express server is chosen; Hodentek2 is the machine name.

    Clicking on the Next button in the above window opens the window where you are required to fill in the authentication information. Here a SQL Server authentication is used for which a username and password are required.

    Clicking on the Next button in the above window takes you to a step where you can set the default database, which is usually the master database. You can use the drop-down to choose the database. You can also set the ANSI related parameters. Here the defaults are accepted.

    Clicking on the Next button then guides you through several other options related to the language for system messages; encryption; character data translation; and so forth. Defaults are accepted for this tutorial.

    This bring us to the final window of the ODBC data source creation step. When you click on the Finish button you will get to the screen where the information you provided and the choices you made in the configuration of the data source are summarized. You may also test the success or failure of this DSN by using the Test Data Source... button.

    When you click OK after you verify it is successful, you will get back to the first screen of the ODBC Data Source Administrator displaying the source you created. This DSN can now be used in any application which asks you to furnish a connection information and can be a part of the ConnectionString.

    More Microsoft Access Articles
    More By Jayaram Krishnaswamy


       · Linking is as easy as in earlier versions, if not easier. It is quite intuitive as...
     

    MICROSOFT ACCESS ARTICLES

    - 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
    - Configuring a Linked Microsoft Access Server...





    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway