Subject | Re: [IBO] IBOQuery: How to create TField for selected fieldsat runtime? |
---|---|
Author | Chuck Belanger |
Post date | 2005-02-04T23:48:27Z |
Thanks Helen for taking the time to respond.
I already know about native IBO, but I'm talking about TDataSet IBOQuery, not
IB_Query. Someone already gave me some pointers on using TIB_Column and
OnGetText with the AfterPrepare event.
What I still need is the same ability to dynamically assign OnGetText event to a
non-persistent TField of the IBOQuery.
Any suggestions?
Chuck
I already know about native IBO, but I'm talking about TDataSet IBOQuery, not
IB_Query. Someone already gave me some pointers on using TIB_Column and
OnGetText with the AfterPrepare event.
What I still need is the same ability to dynamically assign OnGetText event to a
non-persistent TField of the IBOQuery.
Any suggestions?
Chuck
>
> Native IBO doesn't use TField objects at all. It creates TIB_Column
> objects for each column when the statement is prepared. As long as you
> have custom behaviour defined for the column's OnGetText, the var AValue is
> returned each time you refer to the column's AsString method.
>
> Helen
>
> ___________________________________________________________________________
> IB Objects - direct, complete, custom connectivity to Firebird or InterBase
> without the need for BDE, ODBC or any other layer.
> ___________________________________________________________________________
> http://www.ibobjects.com - your IBO community resource for Tech Info papers,
> keyword-searchable FAQ, community code contributions and more !
> Yahoo! Groups Links
>
>
>
>