Microsoft Access
  Home arrow Microsoft Access arrow Page 2 - On Using Pass-through Queries in MS Access
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 
Mobile Linux 
App Generation ROI 
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

On Using Pass-through Queries in MS Access
By: Jayaram Krishnaswamy
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 18
    2006-07-03

    Table of Contents:
  • On Using Pass-through Queries in MS Access
  • Providing the ODBC Connectivity information
  • Creating a Query
  • Saving Connection information with the query

  • 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


    On Using Pass-through Queries in MS Access - Providing the ODBC Connectivity information


    (Page 2 of 4 )

    Double click the icon to open the Select Data Source window as shown.

    Click on New... to open the next window.

    In the Create New Data Source window, scroll down and select SQL Native Client . We will connect to a Northwind  database on the SQL 2005 server.  Make sure the SQL Server is on. Click on Next to see the following window.

    Provide a name to the source, MSClient, and click Next. You will see a summary of your actions thus far in the next window.

    Click Finish. This opens up the next window.

    Here you provide a description for your datasource as shown, and from the drop-down select HODENTEK (the name of the machine on which the SQL 2005 server is installed). Click Next. In the following window provide the SQL authentication information. If your system accepts Windows NT authentication you can just click Next.

    Click Next after typing in the password and Login ID. In the next window, choose "Northwind" from the databases, since the default is "master;" accept the other defaults.

    Click Next. In the next window you may change information regarding the log file. Here defaults are used.

    Click Finish. This takes you to the final summary screen where you may test the connectivity. You should immediately see the test results.

    Click OK twice, once for each open window. You will return to the Select data Source window where you can now see your file data source, MSClient.dsn.

    When you click on the OK button, you will get a login screen where you must again type in the login info.

    When you click on the OK button after entering the required information, you may get an empty window for the passthru query. This is because there is no query statement in the design view.

    More Microsoft Access Articles
    More By Jayaram Krishnaswamy


       · I once worked for a Networking company in Virginia who were sub-contracting us to...
     

    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
    Stay green...Green IT