Subject | Re: [IBO] Refreshing ComboBox |
---|---|
Author | Lucas Franzen |
Post date | 2001-08-15T14:03:43Z |
Paul Schmidt schrieb:
If yes, then refreshing won't help since a TIB_ComboBox has got to have
it's items assigned (maybe you're doing this on app start), so
refreshing the query will have the record in the result set but not in
the TIB_ComboBox (unless you reload your items).
Maybe you want to change to a TIB_LookupCombo, this might suit your
needs much better.
Luc.
>Are you sure you've got a TIB_ComboBox (and not a TIB_LookupCombo)?
> Dear List:
>
> This is in the bang-head-here category.
>
> Environment Win95/Delphi3/IBO3.6.Di
>
> I have two forms, the first one edits TABLE-A, it has a transaction
> item on it, that has AutoCommit set to TRUE.
>
> The second form edits TABLE-B, it has a TIB_ComboBox on it, that lets
> you pick a record from TABLE-A, however if I add a new record to
> TABLE-A, it doesn't appear on the second form, until I exit and
> restart the application. The dataset here, does a refresh when the
> form is activated, I thought that would do it, but it doesn't seem to
> work.
>
> So what do I need to do to make the combo-box refresh it's data?
If yes, then refreshing won't help since a TIB_ComboBox has got to have
it's items assigned (maybe you're doing this on app start), so
refreshing the query will have the record in the result set but not in
the TIB_ComboBox (unless you reload your items).
Maybe you want to change to a TIB_LookupCombo, this might suit your
needs much better.
Luc.