Let's see how components are used for data access via ADO. They are made available in FastReport by adding the “TfrxADOComponents” component from the Delphi FastReport palette to the project form. The following objects then appear on the object toolbar when you switch to the “Data” tab in the report designer : “TfrxADOTable”, “TfrxADOQuery” and “TfrxADODataBase”. These components are similar to the corresponding Delphi components (“TADOTable”, “TADOQuery” and “TADOConnection”) in terms of their functionality. There is also a “TfrxDBLookupComboBox” control which can be used in dialogue forms.
Icon
|
Name
|
Description
|
Used in
|

|
TfrxDBLookupComboBox
|
control used for selecting a value from a directory
|
dialogue forms
|

|
TfrxADOTable
|
control used for accessing a DB table
|
“Data” tab
|

|
TfrxADOQuery
|
control used for executing a SQL query
|
“Data” tab
|

|
TfrxADODataBase
|
control used for connecting to a DB
|
“Data” tab
|
Let's look at each component.
|