Subject Re: [IBO] TIB_LookupCombo and Grids
Author Bob
Thanks Geoff, you're right. It was KeyDescLinks. It's working great.

Bob.

"Geoff Worboys" <geoff@...> wrote in message
news:1306520046.20020505083732@......
> Hi Bob,
>
> > I have a LookupCombo in a grid. The grid is displaying a detail
> > dataset, and the lookup combo is reference to another table. However
> > I want the LookupCombo to display a descriptive field, rather than a
> > primary key. See below:
>
> Takea look at the Company sampel app - the FRM_Employee unit. That
> shows the use of IB_LookupCombo on a grid with descriptive display.
> Pay particular attention to the lookupdataset.KeyDescLinks property -
> which ties the descriptive field from the lookup to the
> computed/embedded-select descriptive field on the main dataset. This
> is necessary to use lookupcombo on grids.
>
> hth
>
> --
> Geoff Worboys
> Telesis Computing
>
>
>
>
___________________________________________________________________________
> 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 !
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>