Subject | Re: [IBO] TIB_LookupCombo Problem |
---|---|
Author | Eric Handbury |
Post date | 2002-02-18T12:46:24Z |
In article <5.1.0.14.0.20020218174120.072baec0@...>,
"Helen Borrie (TeamIBO)" <helebor@...> wrote:
to no avail. Can you point me in the right direction in terms of any
documentation on this.
Thanks, Eric.
"Helen Borrie (TeamIBO)" <helebor@...> wrote:
> At 05:28 PM 18-02-02 +1100, you wrote:Sorry... its the parent.
>>Hello,
>>
>> I have a OnChange Event in my LookupCombo which initializes a couple
>> of
>>different fields in the dataset depending on the lookup value.
>> The problem is that the user will change the field in the LookupCombo
>>control, which fires-up the OnChange event, which initializes different
>>fields in the same dataset, which (here's the problem) resets the value
>>in the LookupCombo to the value before the change. If I don't initialize
>>the fields in the OnChange, then everything works.
>
> It's not clear to me from your description but are you describing
> changes in the lookup dataset or in the linked parent?
>I've been trying to figure out how to code-up the OnAfterModify event
> Remember that, in native IBO, the data drives the controls, not the
> reverse as in the VCL. If you want to change values in the parent in
> response to a selection in the lookup, place your code on the
> TIB_Column.AfterModify event of the linked parent column that is getting
> modified by the lookupcombo.
to no avail. Can you point me in the right direction in terms of any
documentation on this.
Thanks, Eric.