Database
  Home arrow Database arrow Using Data Access Pages to Access Data on ...
Iron Speed
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 
Download TestComplete 
Windows Web Hosting
 
IBM® developerWorks 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
IBM Developerworks
 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? 
DATABASE

Using Data Access Pages to Access Data on a SQL Anywhere 10 Database
By: Jayaram Krishnaswamy
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 4
    2006-10-03

    Table of Contents:
  • Using Data Access Pages to Access Data on a SQL Anywhere 10 Database
  • Importing from an ODBC Database
  • Importing the Customers Table
  • Creating a Data Access Page

  • 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
     
     
    Iron Speed
     
    ADVERTISEMENT

    TestComplete™ automates software testing for a fraction of what the big guys charge. Easy functional and load testing for all Windows, .NET, Java and Web apps. Download a free trial now.

    Using Data Access Pages to Access Data on a SQL Anywhere 10 Database
    (Page 1 of 4 )

    If you're interested in setting up a front end for SQL Anywhere 10 in Microsoft Access, you've come to the right place. This article will show you how to import a table from SQL Anywhere 10 into Microsoft Access, how to query the table, and more.

    SQL Anywhere 10

    SQL Anywhere 10, which is in its enterprise ready avatar, is extremely easy to administer and supports many advanced features. It can also cater to HTTP requests for data with its HTTP server. The details of downloading and getting your hands wet with SQL Anywhere 10 have been described in another article on the ASPFree.com site. Its migration wizard is easy to use, as was shown in yet another article on DevShed.com.

    The present article shows how to set up a front end for this database in Microsoft's very popular Access application. The IIS 5.1 Server, the SQL Anywhere 10 Server as well as the MS Access 2003 all run on a Windows XP Professional Media Center Edition OS.

    Overview of the tutorial

    The SQL Anywhere 10 database when installed comes with its own ODBC provider, which is the easiest way to get access to the data on the server. It also comes with a demonstration database demo10.db. The required files will be installed in the same directory where the SQL Anywhere 10 is installed.

    Using Microsoft Access 2003's import utility, a table from SQL Anywhere 10 will be imported. This table will be queried. The Data Access Page based on the query will be created using the Page Wizard. The DAP will then be saved to the root directory of the intranet site. Data Access Pages exposed data is now available to the intranet users, and it is the easiest way to provide data.

    Start the SQL Anywhere Network Server

    Start the SQL Anywhere 10 Network Server item by accessing it from the SQL Anywhere 10 shortcut as shown.

    This starts the demo10 database on port 2638 as shown. After starting, the following window gets minimized. Do not close this window. However, if you wish to close down you may close this window or click on the button Shutdown.

    Create a Microsoft Access Database Application

    After opening the MS Access program from its shortcut you may access the import utility from File--> Get External Data -->Import as shown in the next picture.

    More Database Articles
    More By Jayaram Krishnaswamy


       · Here is a mix of a popular database, and a terrific front end which can be web...
     

    DATABASE ARTICLES

    - Database Programming in C# with MySQL : Usin...
    - Formatting Techniques for Data Access from E...
    - Data Access from Excel VBA
    - Generating a Multiple Table Crystal Report u...
    - ADO and the Command Object
    - On Wiring Up an ADO Data Control
    - Reading and Writing to Files on the Intranet
    - Using ADO Record to Create and Navigate Intr...
    - Using Data Access Pages to Access Data on a ...
    - Using ADO with the SQL Native Client
    - ADO`s Stream Object
    - Opening a Record Object Referencing an Open ...
    - Introducing Jasper (SQL Anywhere 10 Beta)
    - Creating a Database Project in VS 2005
    - Manipulating ADO Recordsets




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