ZTable: Datagrid stays empty

Forum related to version 6.5.1 (alpha) and 6.6.x (beta) of ZeosLib's DBOs

Moderators: gto, cipto_kh, EgonHugeist

eNTi
Fresh Boarder
Fresh Boarder
Posts: 1
Joined: 16.06.2010, 14:44

ZTable: Datagrid stays empty

Postby eNTi » 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:

Code: Select all

... -> TTabSheet -> TDBGrid -> TDBGridColumns -> TColumn

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?

seawolf
Zeos Dev Team *
Zeos Dev Team *
Posts: 385
Joined: 04.06.2008, 19:50
Contact:

Postby seawolf » 20.06.2010, 22:32

Just some silly questions:
Which DB are you using? It looks like the connection to the DB is not open? Could be the Connection path?

User avatar
mdaems
Zeos Project Manager
Zeos Project Manager
Posts: 2766
Joined: 20.09.2005, 15:28
Location: Brussels, Belgium
Contact:

Postby mdaems » 29.08.2010, 20:57

Is the tablename set in the TZTable component and is the TZTable Opened or Active?

Mark
Image


Return to “6.5.1 (alpha) - 6.6.x (beta)”

Who is online

Users browsing this forum: No registered users and 1 guest