combobox in a dbgrid column bug?! lazarus / 16-Databases ---------------------------------------------------------------------- xinyiman · 2013-12-27 18:00 I made a test project to report my problem. Given a combobox in a column in a dbgrid does not auto-populate when the program starts, then everything else works. Who knows how to help me? ---------------------------------------------------------------------- howardpc · 2013-12-27 20:04 I'm not sure what your question means (what your problem is). However, you create datasets and populate them with data in your form's OnCreate, but you do not create any indexdefs or indexes. So it not surprising that you cannot find any data with a lookup field, or link the datasets via a foreign key (if that is what you are trying to do). ---------------------------------------------------------------------- xinyiman · 2013-12-28 15:28 I tried adding what you say. Unfortunately it does not solve my problem. That is, when I start the program I want the field NewLookUpField are populated according to the value of the field Id_Chiave. Can you suggest me how should I modify the source to get this? thank you very much ---------------------------------------------------------------------- xinyiman · 2013-12-30 15:39 another idea