Lazarus / Firebird SQL update submit lazarus / 16-Databases ---------------------------------------------------------------------- SteenJorgensen · 2012-04-26 13:32 I have a problem which I hope a kind person can answer me. I have created a program where I have attached the SQL database. It works fine and i can see all data and when I press the navigation panel data change as well. BUT when I want to insert or change it does not work? In other words, there seems to be missing a sumbit statment? In SQLQurery1 element i have set UpdateSQL to : SQLQuery1.ApplyUpdates; SQLTransaction1.Commit; Thank you in advance ---------------------------------------------------------------------- exdatis · 2012-04-26 13:41 Have to re-read the records(after post/delete -> ApplyUpdates -> start transaction -> open data set) http://wiki.freepascal.org/SQLdb_Tutorial1#Firebird_database_libraries _on_Windows ---------------------------------------------------------------------- exdatis · 2012-04-26 13:43 Also: http://wiki.freepascal.org/SQLdb_Package ---------------------------------------------------------------------- ludob · 2012-04-26 14:29 Quote from: exdatis on April 26, 2012, 03:41:52 pmHave to re-read the records(after post/delete -> ApplyUpdates -> start transaction -> open data set) Probably a typo: after post/delete -> ApplyUpdates -> commitretaining transaction No need to reopen data set with commitretaining or rollbackretaining ---------------------------------------------------------------------- exdatis · 2012-04-26 15:02 You've right. Thank you.