Subject Re: [IBO] LookupCombo
Author comesailing@btinternet.com
Thanks Geof:
Yes I dont have BDE installed I do use all IB_Objects controls. It
is just getting my mind around various controls and their intended
way of operation I find difficult.
The ibojects dbcombo does not have a 'list source' so the queries
have to be linked as you indicate, but at this point the main table
holds a blank record apart from its primary key which is placed there
from a generator. The combo is connected to the lookup table and is
showing the list of town to select...what happens next ?
I am using delphi4 and ib_query and ib_datasource for both tables as
required.
(When the user presses the 'check' button the data is transferred
from the lookup to the main record...but this is no different from
using non data-aware components).
Dave


--- In IBObjects@y..., "Geoff Worboys" <geoff@t...> wrote:
> > I thought Geof Worboys reply was going to be just what I
> > wanted, but I dont think so now.
>
> Why not? If the list of towns exists in its own separate "lookup"
> table, then TIB_LookupCombo should work - PROVIDED you are using the
> native (TIB_*) controls. If you are using the standard VCL controls
> you may have to get help from someone else - it is years since I
used
> them for anything serious.
>
> I guess what I am saying is, more information please. Are you using
> TIB_Query and TIB_Datasource or TIBOQuery and TDataSource
components?
>
> If you are using TIB_*, and TIB_LookupCombo what exactly is the
> trouble you are having?
>
> Geoff Worboys
> Telesis Computing