Subject RE: [IBO] Problem with IB_LookupCombo
Author Alan McDonald
I have now about 100 lookupcombos in my application, and everytime I need
another one, I shudder.
I'm only just starting to get them setup in realtively little time but it's
still a trial and error problem and I hang on dearly to ones which are
existing so I can match the settings.

There' another section in the GSG about Lookupcombos - refer to that - and
when you get your first one working - study it closely :-)

Alan

-----Original Message-----
From: Christoph [mailto:lists@...]
Sent: Friday, 4 April 2003 10:37 PM
To: IBObjects@yahoogroups.com
Subject: [IBO] Problem with IB_LookupCombo



I am having trouble getting an IB_LookupCombo to work.

Is the "Thinking About Links" section of the GSG the right place to look?

I have got a form that has some controls linked to a TIB_Datasource
that is linked to a TIB_Query and everything works fine.

I then add another datasource and query for the lookup and change the
keylinks property in the query to something like
LookupTable.PrimaryKey=KeysourceTable.LookupKey.

I then set the datasource of the lookup combo to the lookup ds, the
display field to the second column in the lookup query, and the
keysource on the lookup query to be the datasource of the orignal query.

When I run it I can still browse the main query ok but the lookup
combo is black and if I drop it down the dropdown is only a couple of
pixles high.

Can somebody help me please? I am using Delphi 7 pro and IBObjects
4.2.Ib on Windows XP connecting to Firebird 1.

Thanks.


Christoph




___________________________________________________________________________
IB Objects - direct, complete, custom connectivity to Firebird or InterBase
without the need for BDE, ODBC or any other layer.
___________________________________________________________________________
http://www.ibobjects.com - your IBO community resource for Tech Info papers,
keyword-searchable FAQ, community code contributions and more !

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/