Delphi-Kylix
  Home arrow Delphi-Kylix arrow Using Delphi with ADO
IBM Rational Software Development Conference
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Dedicated Servers  
Download TestComplete 
IBM® developerWorks 
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? 
DELPHI-KYLIX

Using Delphi with ADO
By: Jacques Noah
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 4
    2006-10-02

    Table of Contents:
  • Using Delphi with ADO
  • Accessing Database Content
  • Practical Example with Data Aware Components
  • Practical Example Without Data Aware Components

  • 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

    Free Web 2.0 Code Generator! Generate data entry and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!

    Using Delphi with ADO
    (Page 1 of 4 )

    This article, the first of three parts, shows you how to access and change database content using Delphi and ADO. Accessing data both with and without data aware components is covered.
    Download the database and example program here.

    ActiveX Data Objects, or ADO as it is known, is classed as an application-level interface by Microsoft. In short, it is a system designed for database application programmers. It is mostly used on Windows-based systems for data navigation and manipulation of datasets. 

    Microsoft Data Access Components (MDAC) is an umbrella for Microsoft database technologies, which include ADO. Most Windows-based systems will have MDAC  installed. For example, if you have Internet Explorer, you'll definitely have MDAC installed. So, when you deploy your database applications, you do not for the most part have to worry about your users having this technology on their systems, as over ninety percent of all computer owners own a Microsoft-operated system. Having said that, it is still important to err on the side of caution and include code that will check whether MDAC is installed. It is also worthwhile to check for the latest MDAC release on the Microsoft website now and then.

    Delphi ships with a whole host of other database technologies, such as BDE and Interbase. The choice of database you use will largely depend on what you are using it for. For example if you are running a very popular website, then you cannot use a Microsoft Access database to store your information in, because it is not designed to store large amounts of information. A database server such as MSSQL or MySQL would be more suitable. Similarly, if you create a small application that handles address book information, it would be overkill to use a database server such as MySQL or MSSQL; a smaller database such as MS Access would be suitable.

    More Delphi-Kylix Articles
    More By Jacques Noah


       · the database "people.mdb" is missing from the download. Any chance of having the...
       · OK the MDB file is in the zip now but.... there are no tables in the database???
       · I'll have a look at the file and upload a proper one. Thanks.
     

    DELPHI-KYLIX ARTICLES

    - Client Dataset: Working with Data Packets an...
    - Using the Client Dataset in an N-Tiered Appl...
    - Using the Client Dataset in Two-Tiered Clien...
    - Using the Client Dataset in File-Based Archi...
    - Demystifying the Client Dataset
    - Working with INI Files in Delphi
    - Creating Data Link (UDL) Files in Delphi
    - Looking at the Details for an Invoicing Appl...
    - Invoicing in Delphi: Show Me the Money
    - Saving Images and Binary Files to a Database...
    - Saving Files to a Database using Delphi: Sav...
    - Creating CF Applications and Integrating a S...
    - Using Try and Finally to Help Prevent Memory...
    - The Implementation of an FTP Server
    - FTP Server: The Theory






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