I have a SQLite table with countries in. It loads fine into a DBGrid with TQuery and TDataSource. But when I try to insert or edit a record, nothing can be typed in the cells and nothing is saved to database.
Used Query.InsertSQL, but I still cannot type anything in the text cells:
INSERT INTO countries(COUNTRY_ID, COUNTRY_NAME) VALUES(:COUNTRY_ID,:COUNTRY_NAME);
Some working sample code would be appreciated.
Attaching a small test app with a SQLite database.db3. Remember to change the database path in the dbconnection if you test it.
Thanks in advance!