Subject | Re: [IBO] Questions about TIB_LookupCombo |
---|---|
Author | Paul Vinkenoog |
Post date | 2004-03-07T14:37:09Z |
Hi Alfred,
a KeySource-Lookup pair; then you set the DataSource of the Combo to
the Lookup set, and everything works automagically. If you have the
Getting Started Guide, there's a detailed description of how to do
this.
lookup set ("ORDER BY" in the default SQL is not enough -
OrderingItemNo must not be 0).
Then set the LookupCombo's SearchKeyByKey property to true (and
optionally SeekNearest too).
Greetings,
Paul Vinkenoog
> I have 2 qn regarding TIB_LookupCombo:You don't do that from the TIB_LookupCombo. You set up two datasets as
>
> 1. The DataSource property specifies the lookup source. So where do
> I specify the datasource that the data should be written to?
a KeySource-Lookup pair; then you set the DataSource of the Combo to
the Lookup set, and everything works automagically. If you have the
Getting Started Guide, there's a detailed description of how to do
this.
> 2. I would like to type into the lookup combo, and it will locateFirst make sure there's an explicit OrderingItem in effect for the
> the record (partialkey) accordingly. What property should I set
> in order to achieve that?
lookup set ("ORDER BY" in the default SQL is not enough -
OrderingItemNo must not be 0).
Then set the LookupCombo's SearchKeyByKey property to true (and
optionally SeekNearest too).
Greetings,
Paul Vinkenoog