Page 1 of 1

post error raise twice

Posted: Thu 23 Aug 2007 04:58
by lyan
I am using TIBCQuery. When i catch the OnPostError and display an error message, it always appears twice. Does anyone know how to stop this?

thanks,
Lai

Posted: Mon 27 Aug 2007 12:10
by Plash
Probably the second message you see is an exception message that the application shows automatically when an exception occurs in the application. You can assign daAbort to the Action parameter in the OnPostError event handler. In this case the exception will not occur, and the second message will not be shown.