Topic: How can I show in combobox the values when i select from TableGrid?
How can I show in combobox the values when i select from TableGrid?
I know only how it works with TextBox but not with ComboBox.
I know the following script but this is only for text box.
s := SQLExecute('SELECT LastName from names WHERE id=' + IntToStr( Form1.TableGrid1.dbItemID));
Form1.Edit1.Text := s;
I attached my example.