Delphi Database, Delphi Components from ComponentAce
Products Download Order Contact us
Using Data Controls
Previous  Top  Next



The Data Controls page of the Component palette provides a set of data-aware controls that represent data from fields in a database record, and, if the dataset allows it, enable users to edit that data and post changes back to the database. By placing data controls onto the forms in your database application, you can build your database application's user interface (UI) so that information is visible and accessible to users.

The data-aware controls you add to your user interface depend on several factors, including the following:
·The type of data you are displaying. You can choose between controls that are designed to display and edit plain text, controls that work with formatted text, controls for graphics, multimedia elements, and so on. Controls that display different types of information are described in Borland DevGuide, Displaying a single record.  
·How you want to organize the information. You may choose to display information from a single record on the screen, or list the information from multiple records using a grid. Borland DevGuide, Choosing how to organize the data describes some of the possibilities.  
·How (or if) you want to let users navigate through the records of datasets and add or edit data. You may want to add your own controls or mechanisms to navigate and edit, or you may want to use a built-in control such as a data navigator.  

To set up a data control, typically you need perform the following steps:

1.Place on form (data module) and set up TABSDatabase and TABSTable (TABSQuery) components.  
2.Place TDataSource component from the Data Access page of the Component palette on form (data module)  
3.Set TDataSource.Dataset property.  
4.Set up data control properties, such as DataSource, DataSet and DataField  
        © 2003 - 2017 ComponentAce  | .net zip component | barcode for .net | delphi zip component | delphi database Oct 18, 2017