Subject | Re: [IBO] How can I create persistent fields |
---|---|
Author | Woody |
Post date | 2006-02-21T16:37:50Z |
From: "sergiogarciaruso" <sergiog@...>
to the field in question. You can use the AfterOpen event of the TIB_Query
to assign the method to the field using something like:
MyQuery.FieldByName('MyField').OnAfterModify := FieldChanged;
HTH
Woody (TMW)
> --- In IBObjects@yahoogroups.com, Helen Borrie <helebor@...> wrote:IIRC, you can use the OnAfterModify event of the field by assigning a method
> >
> > At 10:00 AM 21/02/2006, you wrote:
> > >Hi.
> > >How can I create persistent fields with a TIB_Query component? I'm
> using D7
> > >and IBO v4.5.0
> >
> > TIB_Query doesn't support persistent fields. (TIBOQuery does.)
> >
> > Can you explain what you need to do?
> >
> > Helen
> >
> Well, I need to write an OnChange event handler to respond to some
> changes in the field's data. I did it using TIBOQuery, but I want to
> use iboControls's components, and they doesn't work with native
> TDatasource component.
to the field in question. You can use the AfterOpen event of the TIB_Query
to assign the method to the field using something like:
MyQuery.FieldByName('MyField').OnAfterModify := FieldChanged;
HTH
Woody (TMW)