Subject | Re: [IBO] which dataset, onprocessSearch |
---|---|
Author | Helen Borrie |
Post date | 2007-04-15T03:00:23Z |
At 12:43 PM 15/04/2007, you wrote:
TIB_Column. The Statement property of a TIB_Column is a
TIB_Statement. All dataset classes are descendants of TIB_Statement
and all objects have a Name property.
So, e.g., if you want to test the name of the dataset in this event handler:
if IB_Field.Statement.Name = 'TheInterestingOne' then ....
Of course, you might want to examine some other property of the
IB_Field object or of objects that are incorporated in it...this is
just a simple example.
Helen
>On the ib_connection.OnProcessSearchBuffer event, how can I know whichThe IB_Field argument presented by the event handler is a
>dataset (ib_query) is being processed?
>
>TIA
>
>using ibo 4.5b
TIB_Column. The Statement property of a TIB_Column is a
TIB_Statement. All dataset classes are descendants of TIB_Statement
and all objects have a Name property.
So, e.g., if you want to test the name of the dataset in this event handler:
if IB_Field.Statement.Name = 'TheInterestingOne' then ....
Of course, you might want to examine some other property of the
IB_Field object or of objects that are incorporated in it...this is
just a simple example.
Helen