[Lazarus] How to use DBCombobox

Reinier Olislagers reinierolislagers at gmail.com
Mon Jun 18 15:42:45 CEST 2012


On 18-6-2012 15:39, Reinier Olislagers wrote:
> On 18-6-2012 15:31, Koenraad Lelong wrote:
>> On 18-06-12 11:44, Reinier Olislagers wrote:
>>>
>>> Try seeing if a DBLookupCombobox does what you want: it should let you
>>> select a value out of another table and insert that into the field bound
>>> to the dblookupcombobox.
>>
>> Hi,
>>
>> Just tried, it's worse. There absolutely nothing shows. I must be doing
>> something wrong.
> 
> Explain what you want to do, give a sample of what failed up to now...
> My crystal ball says you bound the combobox to the field you want to
> edit but you haven't told the combobox in what other table to look up
> its data.
... looking at the object inspector when having a dblookupcombobox
selected shows listsource and listfield as interesting targets for that.





More information about the Lazarus mailing list