[SOLVED] Exception Message Dialog lazarus / 16-Databases ---------------------------------------------------------------------- Fai · 2017-10-08 08:16 Hi, How can I prevent exception on database error to showing message dialog? I have put the error message in the stringlist for further execution, so I don't need to show error dialog again. Thanks, Win 10, Lazarus 1.8.0RC4 fpc 3.0.4 ---------------------------------------------------------------------- JuhaManninen · 2017-10-08 10:06 Quote from: Fai on October 08, 2017, 10:16:57 amHow can I prevent exception on database error to showing message dialog? By handling the exception in a "try ... except" block. QuoteI have put the error message in the stringlist for further execution, so I don't need to show error dialog again. How did you put it in a stringlist? It sounds like you already handled the exception. ---------------------------------------------------------------------- Fai · 2017-10-08 11:11 Oops, I think I've made a small mistake  . Yes I already handle the exception. I just wrote a new procedure inside my project & have 'try...except' inside 'try...finally' block and put mysqlconnection.open in try...finally block. Didn't see it for two hours , I have similar procedure & wondering why this work differently. I guess I'm too much coding these few days. Thanks anyway for your attention.