Microsoft Access
  Home arrow Microsoft Access arrow Creating Data Access Pages from Scratch
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

Creating Data Access Pages from Scratch
By: Jayaram Krishnaswamy
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 21
    2006-01-16

    Table of Contents:
  • Creating Data Access Pages from Scratch
  • Connecting to the database
  • Choosing the data
  • Modifying Page Properties
  • Endless Possibilities

  • 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


    Creating Data Access Pages from Scratch


    (Page 1 of 5 )

    It's easy to create a Data Access Page in MS access by invoking the wizard. Still, you may want to know how to create a DAP from scratch. This article explains how to do it.

    Introduction

    In a previous tutorial, creating Data Access Pages (DAP) in MS Access was described. Importantly, the basic mechanics involved in crafting a DAP were discussed using the easiest of the methods -- invoking the wizard. While the easiest way to create such a page as described earlier fits in with the RAD features, one may need to know how to create a page starting from scratch.

    This tutorial will show how to create a DAP using the design option starting from scratch. The demonstrated example is verified on a Windows XP Professional with MS Access 2002, SP1.  As discussed in the previous article, the information about data and related information is stored in an .htm file for a DAP as against an .mdb file for data. Since it is in an .htm file, it is Microsoft DOM compliant. I recommend reviewing the first tutorial on DAP.

    Since MS Access has undergone changes with the various versions by varying degrees of complexity and enhancements, it is necessary to have elements that work with older versions.

    Creating a DAP in Design View

    Start a DAP in design view

    As with other Microsoft Office products, there is more than one way to create an object -- and so it is with DAP. Either you can use the menu item - Design, the short cut - Create a data access page in design view; or you can click on the menu Item New and follow the wizard. For any of these actions you get the response as shown in the picture. You will see that the page created in this version is not readily reusable in Access version 2000.

    Clicking OK to this will bring up the design view of the page as shown. The areas on this page will bring up context sensitive pop-up menus relevant to that area. The title bar of this page, the label marked Click here and type the title text, the tabular region and the blank area will all bring up their related menus when right clicked to access their properties.  I changed the title by typing in My First Page as shown.

    Configuring the DAP in design view

    By right clicking an empty region of the page, or the title bar, the Page1 properties can be accessed as shown here.  If you are familiar with MS Access you will see this is a common way to configure an object in design. The three tabs, Format, data, and other provide all the design time information. 

    More Microsoft Access Articles
    More By Jayaram Krishnaswamy


       · Ideally suited for intranet applications DAP provides the means to get out your data...
     

    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
    For more Enterprise Application Development news, visit eWeek