Page 1 of 1

DelphiXE3 DBLookupCmb

Posted: 15.04.2017, 19:33
by exdatis
I use zeos r3986 + PostgreSQL 9.5 but
DBLookupComboBox doesn't work. Any idea?
Thanks

Re: DelphiXE3 DBLookupCmb

Posted: 15.04.2017, 21:39
by marsupilami
Erm - could you please post some code? DBCombobox works perfectly for me...

Re: DelphiXE3 DBLookupCmb

Posted: 16.04.2017, 08:07
by exdatis
I tried in ObjectInspector:
DataSource -> current query(or table) for edit/insert
DataField -> Field (integer);
then
ListSource -> an other source who have needed for list of some names and id = id of the first(listfield->names and keyfield id)
but dblCmb is empty.
both data sets are active and not empty and I use quite normal in the other forms(without dblookupCmb).
I tried from the source the same thing(e.g dblcmb.DataSource:= ...) unsuccess.
Thanks

Re: DelphiXE3 DBLookupCmb

Posted: 16.04.2017, 13:32
by exdatis
Probably I do something wrong(but I dont know what). I tried a simple test(new project) and it works... I'm sorry for disturbs.. :roll:

Re: DelphiXE3 DBLookupCmb

Posted: 16.04.2017, 21:18
by marsupilami
Don't worry - things like these happen :-)

Re: DelphiXE3 DBLookupCmb

Posted: 17.04.2017, 07:44
by exdatis
Yeah... :wink:
Thanks very much, best regards
p.s Ehhhhhhhhhhhh, I forgot to enable controls .... :(