Subject | Re: [IBO] IB_LookupCombo |
---|---|
Author | Helen Borrie |
Post date | 2007-11-07T13:23:14Z |
At 11:44 PM 7/11/2007, you wrote:
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 http://www.ibobjects.com/TechInfo.html 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
>Hi Helen - thanks for the quick reply!{ Helen shakes head, rubs eyes and murmurs "Must be time I was in bed." }
>
>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 in
>the popup of the LookupCombo. However, on the form, when the popup
>of the LookupCombo is closed, only the first field Cover.Scheme
>appears showing on the LookupCombo field display. I would like to
>see both fields showing on the LookupCombo ie. I don't want the user
>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 the
>LookupCombo, I would like to see AND display both fields. At the
>moment, only the Bank.Name shows and displays in the popup.
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 http://www.ibobjects.com/TechInfo.html 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