ZTable: Datagrid stays empty
Posted: 16.06.2010, 15:14
hi everyone.
i'm rather new to delphi and zeoslib and i'm in charge of maintaining a delphi 7 project, because the former developer left the team. so this project is using zeos to display and alter tables around the board. there's one specific form that looks like the following:
now the TDBGrid has got a TDataSource as DataSource, which in turn uses a TZTable as a DataSet which uses a (working) TZConnection.
the idea is probably, that the user of the program can view, alter and add the rows in the TDBGrid.
my problem now is that the TDBGrid doesn't show anything and i'm not able to edit anything in TDBGrid itself. most other tables work fine, but this one is the only one using an actual TZTable. all the other queries seem to work with ZQuery. did i miss something here? could you tell me how to proceed or what information i need to provide, so that you might be able to help me?
i'm rather new to delphi and zeoslib and i'm in charge of maintaining a delphi 7 project, because the former developer left the team. so this project is using zeos to display and alter tables around the board. there's one specific form that looks like the following:
Code: Select all
... -> TTabSheet -> TDBGrid -> TDBGridColumns -> TColumn
the idea is probably, that the user of the program can view, alter and add the rows in the TDBGrid.
my problem now is that the TDBGrid doesn't show anything and i'm not able to edit anything in TDBGrid itself. most other tables work fine, but this one is the only one using an actual TZTable. all the other queries seem to work with ZQuery. did i miss something here? could you tell me how to proceed or what information i need to provide, so that you might be able to help me?