ComboBox into TDBGrid lazarus / 16-Databases ---------------------------------------------------------------------- xinyiman · 2011-06-23 09:39 I wanted to know how is it possible if I have two tables and a t_job t_man (where there is a field that contains the identification of the work) where there are workers in t_man t_job and there are jobs available as you do TDBGrid an editable against a worker there is the possibility to choose him to do that work through a combobox in TDBGrid inserted. An example would be appreciated thanks ---------------------------------------------------------------------- xinyiman · 2011-06-24 07:41 I followed this link I just do not understand how to use the SendMessage, it gives me error, then I wanted to know if it is a cross platform solution. http://delphi.about.com/od/usedbvcl/l/aa101403b.htm SendMessage (DBLookupComboBox1.Handle, WM_CHAR, parola (chiave), 0); ---------------------------------------------------------------------- xinyiman · 2011-06-24 08:03 Ok, it works fine. Just comment on the SendMessage as well and should be multiplatform. ---------------------------------------------------------------------- xinyiman · 2011-06-24 09:40 Ok, now I know how to put the combobox in the DBGrid, but now there's a problem, when I abandoned the field that contains the DBGrid get the index, while I continue to show him the value selected, because the index of the sex of the person as in the attached example is not talking Ok, the DB prova1.s3db should be placed in c:\