Subject | Re: [IBO] Unbound TIB_LookupCombo |
---|---|
Author | Paul Vinkenoog |
Post date | 2003-05-23T10:45:31Z |
Hello Dieter,
(at least not directly) the fastest way is a TIB_Cursor + TComboBox.
Fetch the data in a loop using APIFirst and APINext and feed them to
the TComboBox.
Should the data change, you must re-run the cursor loop. This is
simple enough if you wrap the loop in a procedure.
Greetings,
Paul Vinkenoog
> we want a ComboBox where the user can select 1 out of the valuesSince you don't use the data here to fill a field in another dataset
> fetched by a query. The result is not to saved in an IB_Column, but
> should be recognized by a event.
>
> At the moment we always fill a TComboBox from the query, but is
> there a faster way?
(at least not directly) the fastest way is a TIB_Cursor + TComboBox.
Fetch the data in a loop using APIFirst and APINext and feed them to
the TComboBox.
Should the data change, you must re-run the cursor loop. This is
simple enough if you wrap the loop in a procedure.
Greetings,
Paul Vinkenoog