You are here:About>Computing & Technology>Delphi Programming> Build Database Applications> Data Browsing and Navigation in Delphi Database Applications
About.comDelphi Programming
Newsletters & RSSEmail to a friendSubmit to Digg
Delphi Database Programming Course

Table Of ContentsPrevious ChapterNext Chapter

Data Browsing and Navigation in Delphi Database Applications

From Zarko Gajic,
Your Guide to Delphi Programming.
FREE Newsletter. Sign Up Now!

What Delphi Components and Controls are Needed for Data Access

Welcome to the fourth chapter of the free Delphi Database Course. So far, this course has provided enough information to help you connect to an Access database and to display data coming from a database table. In the last chapter we were discussing some *advanced* database programming techniques - let's now go back to more *for beginners* topics.

This time, you will learn how to build a form (the real one) which can be used to browse through the records of a database table. All the examples presented in the previous chapters have used several data-aware (ADOTable, DBGrid, ...) components without going into detail what each component is designed for, and how all the components link together.

Working together

When developing (ADO-based) Delphi database applications, the components on the Data Controls page, the dbGo page, and the Data Access page of the component palette enable our application to read from and write information to databases.

Every data-aware Delphi form, in general, will host:

  • Several data-aware controls (Data Controls tab) used to create the visual user interface (the look of the data form).
  • At least one DataSource component (Data Access tab) which represents an interface between a dataset component and data-aware controls on a form.
  • One or more dataset components providing access to the data residing in a database table or query.
  • A connection component pointing all the dataset components to a specific data store.
  1. What Delphi Components and Controls are Needed for Data Access
  2. Data Controls; Data Source; Datasets
  3. ADO Connection (TADOConnection)
  4. Defining the User Interface
  5. Fields: a Collection of TField objects; Invoking the Fields Editor
  6. Let There Be Data Editing Delphi Form

Previous | Next >>

 All Topics | Email Article | | |
Advertising Info | News & Events | Work at About | SiteMap | Reprints | HelpOur Story | Be a Guide
User Agreement | Ethics Policy | Patent Info. | Privacy Policy©2008 About, Inc., A part of The New York Times Company. All rights reserved.