Subject | Re: [IBO] TIB_DataSource.onDataChange |
---|---|
Author | Ulrich |
Post date | 2003-12-28T10:22:48Z |
Hello Marco
when testing the second condition. The following code do what I like
to do :
If Field=nil then exit;
If Field.FieldName='myField' then...
Thanks for your help.
Best - Ulrich
> you should first check if field is nullyour are right! But testing with "and" leads to an Access violation
> if ( (Field <> nil) and (Field.FieldName = 'myField') ) then ....
>
> Regards
> Marco
when testing the second condition. The following code do what I like
to do :
If Field=nil then exit;
If Field.FieldName='myField' then...
Thanks for your help.
Best - Ulrich