Subject Re: [IBO] TIB_DataSource.onDataChange
Author Ulrich
Hello Paul,

> Did you define myField case-sensitively like this:
>
> create table ThisTable
> (
> "myField" char( 8 ), // or whatever type
> ...
> )
>

I defined all FieldNames in whole database UPPERCASE

> Are you sure the handler is still called at all? Maybe you could add
> "... else ShowMessage( 'Field is nil' )" and see what happens.
>
Yes, the event is fired with every record change of the TIB_Query
which is connected to the TIB_DataSource.

I have absolutely no idea what I'm doing wrong. I changed my programm
code to work with TIB_Statement:

if Statement.fieldByName('myField').asXXXXXX=value then...

This is working. Maybe Helen or Jason have an idea...

Regards - Ulrich