Subject Re: [IBO] IB_LookupCombo
Author Shanil Misra
--- In, Helen Borrie <helebor@...> wrote:
> At 11:44 PM 7/11/2007, you wrote:
> >Hi Helen - thanks for the quick reply!
> >
> >OK let me explain by an example.
> >
> >I have two fields in my gridlinks: Cover.Scheme and Cover.Cover.
> >
> >At Runtime, when I click on the LookupCombo, both fields appear
> >the popup of the LookupCombo. However, on the form, when the
> >of the LookupCombo is closed, only the first field Cover.Scheme
> >appears showing on the LookupCombo field display. I would like
> >see both fields showing on the LookupCombo ie. I don't want the
> >to click on the control to be able to see both Scheme and Cover
> >fields.
> >
> >With my other question, I have two fields: Bank.Name and
> >Bank_branch.Name linked by bank_id foreign key. When I click on
> >LookupCombo, I would like to see AND display both fields. At the
> >moment, only the Bank.Name shows and displays in the popup.
> { Helen shakes head, rubs eyes and murmurs "Must be time I was in
bed." }
> I need to repeat that a control is *set* driven. You can't
arbitrarily populate it will fields from different tables.
> Perhaps you would like to go to and download the two papers
there on using IB Objects controls. One of them has a "walk-
through" of the logic of both setting up and using TIB_LookupCombo.
The key concepts for this control are "double-data-aware"
and "lookup".
> Also please look up the helpfile for TIB_LookupCombo.
> Helen

OK I accept your answer for the second question. What about the
first question? It does not make sense that the popup allows the
two fields, but the display does not. I am sure it's a little
matter of populating one of the component entries correctly. I must
say it's quite a mission with IB objects to set up what should be as
easy as the DBLookupCombo with listsource. This one requires a whole
lot of not-so-intuitive settings to have syntax specific entries.