0000051: Error: identifier not found: TDataSetNotifyEvent lazarus / 16-Databases ---------------------------------------------------------------------- tatamata · 2007-06-19 11:31 Lazarus 0.9.22 (fpc 2.0.4), PostgreSQL 8.2., Windows XP. When I try to code any event of ZTable component, I get the following error: "C:\lazarus\components\ZEOSDBO-6.6.1- beta\src\component\ZDataset.pas(54,6) Error: identifier not found: TDataSetNotifyEvent" So, I can't assign any event to ZTable! Regards, Zlatko ---------------------------------------------------------------------- Chris37 · 2007-06-20 08:48 Hello, Sorry for my bad english The answer on my french website http://www.espace-malin.fr/tutos/Laz_SQlite3.html Open Zdataset.pas And add in uses units Db et Classes Compile and install and is good ! Chris Chris ---------------------------------------------------------------------- tatamata · 2007-06-20 17:36 Chris, thank you for your reply. Unfortunately, I don't understand French, so I'm not sure that I understood guidance from your web site. I added "Db" and "Classes" in USES of Zdataset.pas, in the following folder: C:\lazarus\components\ZEOSDBO-6.6.1-beta\src\component. But, now I have an error when trying to compile: "C:\lazarus\components\ZEOSDBO-6.6.1- beta\packages\lazarus\zcomponent.pas(11,18) Fatal: Can't find unit ZDataset". The Zdataset. pas now looks like this: {                                 Zeos Development Group. } {********************************************************@} unit ZDataset; interface {$I ZComponent.inc} uses ZAbstractRODataset, ZAbstractDataset, ZAbstractTable, Db, Classes; type   {** Implements an universal SQL query for read/only data access. }   TZReadOnlyQuery = class (TZAbstractRODataSet)   published     property Active;   {$IFDEF VER130BELOW}     property IsUniDirectional;   {$ENDIF}     property SQL;     property ParamCheck;     property Params;     property Properties;     property DataSource;     property MasterFields;     property MasterSource;     property LinkedFields; {renamed by bangfauzan}     property IndexFieldNames; {bangfauzan addition}     property Options;   end;   {** Implements an universal SQL query for read/write data access. }   TZQuery = class (TZAbstractDataSet)   published     property Active;     property ReadOnly default False;     property SQL;     property ParamCheck;     property Params;     property ShowRecordTypes;     property Properties;     property DataSource;     property MasterFields;     property MasterSource;     property LinkedFields; {renamed by bangfauzan}     property IndexFieldNames; {bangfauzan addition}     property Upda]"]>Blockedde;     property WhereMode;     property Options;     property Sequence;     property SequenceField;   end;   {** Implements an universal SQL query for single table access. }   TZTable = class (TZAbstractTable)   published     property Active;     property ReadOnly default False;     property TableName;     property ShowRecordTypes;     property Properties;     property MasterFields;     property MasterSource;     property LinkedFields; {renamed by bangfauzan}     property IndexFieldNames; {bangfauzan addition}     property Upda]"]>Blockedde;     property WhereMode;     property Options;     property Sequence;     property SequenceField;   end; implementation end. What's wrong? Is the problem in paths? How to fix it? Thanks in advance, Zlatko ---------------------------------------------------------------------- tatamata · 2007-06-20 19:17 Hi, again! It seems that "Clean recompile" helped. Now it works. Thank you very much, Chris! Regards, Zlatko P.S. Have you reported this issue to ZEOSlib developer team? I think they should know it before next official Zeos release. ---------------------------------------------------------------------- Chris37 · 2007-06-20 20:18 Hi, Ok its good Cordially, Chris