dblookupcombobox.keyvalue lazarus / 16-Databases ---------------------------------------------------------------------- stafil · 2010-05-21 18:31 Hi, do not exist dblookupcombobox.keyvalue in lazarus? thx ---------------------------------------------------------------------- stonefull · 2010-05-21 20:21 it would be dblookupcombobox.keyfield? ---------------------------------------------------------------------- stafil · 2010-05-22 15:23 I can read the KeyField's value from the KeyValue property ---------------------------------------------------------------------- stafil · 2010-05-24 12:09 how can i get the Key from a name selected in a dbcombobox? it supposse will be with "keyvalue" (delphi), but there is not exists in lazarus. Any idea? ---------------------------------------------------------------------- cpalx · 2010-05-24 13:40 it is a long time question without an answer, try to use a combo and set the id to the Tobject ---------------------------------------------------------------------- paolopeg · 2010-08-26 17:44 Hi! If I understand your problem just look at DBLookupComboBox1.Field.Value In fact the key field is the real datafield associated to the component! If u want the listfield just look at DBLookupComboBox1.Caption Bye