TDBComboBox rejects the selected item from a predefined list lazarus / 16-Databases ---------------------------------------------------------------------- Hydexon · 2019-06-20 20:46 Hi, again time to no see eh? I'm trying to use an TDBComboBox for an String field which only can have three predefined strings added in the Items property at design- time, everything in the database works fine as intended, but when i select an item from the DBComboBox it bounces back to empty (if i want to add a new record) or the original one (if modifying an existing one) when you save it, it either uses the old one when modifying or Database error due the requested field value isn't supplied when adding a new record. The other db controls works as intended. ---------------------------------------------------------------------- valdir.marcos · 2019-06-22 16:27 Quote from: Hydexon on June 20, 2019, 10:46:18 pmHi, again time to no see eh? I'm trying to use an TDBComboBox for an String field which only can have three predefined strings added in the Items property at design- time, everything in the database works fine as intended, but when i select an item from the DBComboBox it bounces back to empty (if i want to add a new record) or the original one (if modifying an existing one) when you save it, it either uses the old one when modifying or Database error due the requested field value isn't supplied when adding a new record. The other db controls works as intended.Could you provide a small sample project? ---------------------------------------------------------------------- Hydexon · 2019-06-23 02:54 Quote from: valdir.marcos on June 22, 2019, 06:27:39 pmCould you provide a small sample project? See attachment, you may need to setup the SQLite DLL path.