Subject Re: [IBO] TIB_lokkupCombo Please HELP!!
Author Helen Borrie
At 04:57 PM 24-08-01 +0000, you wrote:
>I set up the TIB_LookupCombo and works ok.
>I have side by side two TIB_grids one showing the main table
>and the other the lookup table I see that when i scroll the
>lookup table the connecting field in the main table changes
>to match the table in the lookup table and the main table gets
>into dssEdit state.

>I find this behaviour strange because
>the field in the main table changes and i donot want it to change as
>i scroll the lookup table.

This is the intended behaviour - the purpose of the lookup is to provide values for the connecting column in the main (parent) table. Scrolling the lookup table tells IBO that you want to change the current value of the connecting column. IBO responds by placing the parent table in edit mode, so that the change becomes possible.

Perhaps you are using the wrong solution here. What do you want to happen in the parent dataset as a result of the lookup table being scrolled?

Helen

All for Open and Open for All
InterBase Developer Initiative ยท http://www.interbase2000.org
_______________________________________________________