[ASK] How to detect pending changes with Zeos? lazarus / 16-Databases ---------------------------------------------------------------------- Fahmy Rofiq · 2015-02-26 03:32 Hi, I am using Zeos with Firebird. On application exit, I want to ask user to commit change if there are any changes on Firebird database. How to detect if user have made any changes to database, so dialog box only appear only if needed? Thanks. ---------------------------------------------------------------------- fpcoder · 2015-02-26 06:37 Check out the State and UpdateStatus properties of the Dataset: http://wiki.lazarus.freepascal.org/Databases#Dataset_State EDIT: Just noticed that ZQuery also has a UpdatesPending property. That seems to be what you need.