1. Home
  2. Computing & Technology
  3. Delphi Programming

Data Browsing and Navigation in Delphi Database Applications

By , About.com Guide

3 of 6

ADO Connection (TADOConnection)

The ADOConnection component is used to establish the connection with an ADO data store. Although each ADO dataset component can directly connect to the database, you will typically want to use the ADOConnection component since the component provides methods and properties for activating the connection, accessing the ADO data store directly and for working with transactions. In order to connect to a specific database use the ConnectionString property.

Enough theory, it's time to see some action. The next step is to build a "data-aware" form. Before we move on, it'll be a good idea to open the database with Access and add some "dummy" data (3-4 records) to the database just to have some operational data.

There are two different ways of creating forms with access to a data from the database. The first way is to use the Database Form Expert. Unfortunately, the Database Form Expert works only with the BDE set of dataset components. The second way is to place and connect all the data components manually.

Explore Delphi Programming
About.com Special Features

Holiday Central

What to eat, where to go, fun things to do and how to save money on the perfect gifts. More >

Family Tech Center

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

  1. Home
  2. Computing & Technology
  3. Delphi Programming
  4. Build Database Applications
  5. Data Browsing and Navigation in Delphi Database Applications - Database Connection

©2009 About.com, a part of The New York Times Company.

All rights reserved.