Board index » delphi » DBGrid and Paradox7 Table

DBGrid and Paradox7 Table


2008-01-03 12:07:49 PM
delphi66
i linked the table fields to the dbgrid columns but nothing showing
please help
 
 

Re:DBGrid and Paradox7 Table

Anthonious writes:
Quote
i linked the table fields to the dbgrid columns but nothing showing
please help
You need the following components.
TDatabase
TTable
TDataSource
TDBGrid
Set the properties of the TDatabase to point to your Paradox database.
Set the TTable Database property to the TDatabase.
Set the DataSet property of the TDataSource to the TTable.
Set the DataSource property of the TDBGrid to the TDataSource.
Open the TTable and the data will appear in the grid.
--
Bill Todd (TeamB)
 

Re:DBGrid and Paradox7 Table

thank you
"Bill Todd" <XXXX@XXXXX.COM>writes
Quote
Anthonious writes:

>i linked the table fields to the dbgrid columns but nothing showing
>please help

You need the following components.

TDatabase
TTable
TDataSource
TDBGrid

Set the properties of the TDatabase to point to your Paradox database.

Set the TTable Database property to the TDatabase.

Set the DataSet property of the TDataSource to the TTable.

Set the DataSource property of the TDBGrid to the TDataSource.

Open the TTable and the data will appear in the grid.

--
Bill Todd (TeamB)