Search code examples
delphidbexpressdbgrid

DBGrid not show records


Im try populate grid in Delphi, with values from database. For now, i have a TSQLConnection, TSQLQuery, TDataSource and TDBGrid.

The components are associated as follows:

1) myTDBGrid DataSource: myTDataSOurce
2) myTDataSource DataSet: myTSQLQuery
3) myTSQLQuery Connection: myTSQLConnection

When compile and run a error message broke the application:

Operation not allowed on a unidirectional dataset

Any ideas ?.


Solution

  • Thanks for all. Im using the next article: Building aVCL Forms dvExpress and works.