Subject | Re: [IBO] Accessing & Adding Fields at runtime |
---|---|
Author | Jason Wharton |
Post date | 2002-11-28T16:32:34Z |
AfterPrepare is probably too late.
I'm not really sure what will do it but I'm interested in what you find out.
Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com
-- We may not have it all together --
-- But together we have it all --
I'm not really sure what will do it but I'm interested in what you find out.
Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com
-- We may not have it all together --
-- But together we have it all --
----- Original Message -----
From: "Rob Schuff" <rob@...>
To: <IBObjects@yahoogroups.com>
Sent: Wednesday, November 27, 2002 4:32 PM
Subject: [IBO] Accessing & Adding Fields at runtime
> hi folks,
>
> I have created a component that contains a TIBOQuery. There is no
> design-time creation of TFields. I'd don't need persistent fields but I
do
> need to deal with some issues and I'm asking what event to hook
into/surface
> to accomplish the following:
>
> 1. Define a calculated field and code the OnCalsFieldsEvent
> 2. Access the fields to set some of the tfield properties such as
> displayLabel etc.
>
> and lastly
>
> 3. I need the embedded query to not instantiate fields of type
> TIBOFloatField but instead use the normal TFloatField.
>
> Seems like the afterprepare is the place to do it.
>
> Any suggestions greatly appreciated!
>
> rob