Subject | Re: [IBO] TIB_DataSource.onDataChange |
---|---|
Author | Ulrich |
Post date | 2003-12-28T15:33:31Z |
Hello Paul,
access violations any longer, but my code is still not working :-(
with :
procedure IB_DataSourceDataChange(Sender: TIB_StatementLink;
Statement: TIB_Statement; Field: TIB_Column);
begin
if (Field<>NIL and Field.FieldName='myField') then...
end;
these condition seems to be NEVER true !!?? More than this. If I try
to look which Fields are passing through with:
if Field<>NIL then showMessage(Field.FieldName);
nothing happens. Strange.
Any comments?
Regards - Ulrich
> You obviously have full boolean evaluation on, then. This can beyou are right, that's another way to do it. Now I don't have any
> OK for testing purposes, but you'd better turn it off in release
> versions.
access violations any longer, but my code is still not working :-(
with :
procedure IB_DataSourceDataChange(Sender: TIB_StatementLink;
Statement: TIB_Statement; Field: TIB_Column);
begin
if (Field<>NIL and Field.FieldName='myField') then...
end;
these condition seems to be NEVER true !!?? More than this. If I try
to look which Fields are passing through with:
if Field<>NIL then showMessage(Field.FieldName);
nothing happens. Strange.
Any comments?
Regards - Ulrich