Microsoft Access
  Home arrow Microsoft Access arrow wsh
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 
Moblin 
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

wsh
By: Jayaram Krishnaswamy
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 17
    2006-02-15

    Table of Contents:
  • wsh
  • Creating a parametric query
  • Turning this into a Data Access Page
  • Page display in the browser

  • 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

    AT&T devCentral & BlackBerry(r) Webcast Series: BlackBerry and GPS -Build Location Awareness into your BlackBerry Applications, July 10th -1:00PM EST. Register Today!

    wsh


    (Page 1 of 4 )

    This article explains how parametric queries can be used as a source for creating a Data Access Page. It also describes how to host such a page on an intranet.

    Introduction

    In the first tutorial on Data Access Pages, the evolution of Data Access Pages was described and a simple method of creating the page using the Wizard and hosting it on the intranet site was explained. The second tutorial dealt mainly with creating a Data Access Page from scratch starting from the design view of a page. This tutorial expands on the two previous ones and describes how parametric queries can be used as a source for the DAP. This is a popular FAQ on MS Access forums related Data Access Pages. This tutorial describes in detail how to create a DAP based on a parametric query, and host it on the intranet website.

    Parametric Queries

    Parametric queries, as the name suggests, are queries that return a row of data from a table based on a supplied parameter. Let's assume that you are dealing with customer information such as that shown in the picture below. For each customer there are several pieces of information such as the Company Name, Contact Name, Address, etc. By using a parametric query and supplying a previously chosen parameter such as CustomerID, one can retrieve the rest of the information about that customer.

    Parametric queries need not be restricted to one parameter; they could also depend on a combination of more than one parameter that retrieves the desired row or rows (since there could be more than one row satisfying the parameters). For example, the parameters could include finding all rows in a table satisfying a beginning date and an ending date.

    More Microsoft Access Articles
    More By Jayaram Krishnaswamy


       · One good way to get just what you want is parametric query. No need to get the whole...
       · HiSorry 'bout being anoni mouse, still waiting for the registration email to hit...
       · Try this work around, change your query from select to 'Make table' and base your...
       · Thanks, but I don't think that will work for me. I can base a DAP on the table, but...
       · The reason "like" does not work is because as much as this article wants you to...
       · Thanks for the comments. Since the query has no problem, the problem would be with...
       · I tried to use *Name* as my parameter in my DAP. I know that it should return...
       · DAPs run on the ADO model, so you probably need an ANSI wildcard in your LIKE...
       · The above poster is right. Dunno if anyone's come across it, but a more detailed...
       · The KB article is very clear. sincerely,Jay
       · I had similar problems described in the article above. Based on the discussion and...
       · I'm trying to implement a small variation of this tutorial. I have a simple access...
       · Since you are trying to use the relationships between two queries, it will be better...
       · HiI've read your articels and looked at your website.And found out that you...
       · Are the three tables connected in any way? You can drop controls on the Data Access...
       · sorry about posting as 'any mouse', but my account password hasn't arrived yet. ...
       · I worked as an experimentalist in the hard sciences most of my life. There is...
       · I have dependant drop down lists in a form in Access 2000... i have one simple table...
     

    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