TDBCombobox useless? lazarus / 16-Databases ---------------------------------------------------------------------- MacWomble · 2017-02-16 22:40 Hi there. I got another problem using TDBCombobox: It shows the Text stored in the table but when I select another item this is be shown in the text-field. This is ok so far. The datacontrol switches to Edit-Mode - also ok. Now when I click on Save (datacontrol) the originally saved text will be shown. sample: 1. in the DBCombobox.text is 'HOT' shown (also saved in Database) 2. I select 'COLD' in the DBCombobox and this is shown in DBCombobox.text / Datacontrol switches to edit-mode 3. I click 'save' on Datacontrol - DBCombobox.text is now 'HOT' again. The new value was not saved. May be I misunderstand this, but its also not logically. ---------------------------------------------------------------------- MacWomble · 2017-02-17 13:20 Hallo is there really no one who can help me at his point? I use Zeos Connection and Query and a Datasource. All fields works fine except DBCombobox. Regards Klaus ---------------------------------------------------------------------- wp · 2017-02-17 13:33 You seem to have a very good feeling how to reproduce the bug. Why don't write a little demo with a standard file-based database system to demonstrate the issue for everybody? You will get much more response if the is a ready-to-compile attachment showing the bug. Just attach the lpi, lpr, lfm, pas and database file (no compiler-generated files, please), all packed into a shared zip. ---------------------------------------------------------------------- wwerner · 2018-04-19 17:20 Ok, I have the same problem. An additional hint: I have more than one DBComboboxes. If I change 2 to new value, the first one spring back to the original value, but the second one will be saved. ---------------------------------------------------------------------- fpcoder · 2018-04-19 20:39 Just attach a demo like wp said. Quote from: wwerner on April 19, 2018, 07:20:47 pmOk, I have the same problem. An additional hint: I have more than one DBComboboxes. If I change 2 to new value, the first one spring back to the original value, but the second one will be saved.