On Open Error Handling?

Discussion of open issues, suggestions and bugs regarding SDAC (SQL Server Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Posts: 4
Joined: Wed 14 May 2008 23:52

On Open Error Handling?

Post by tandrecht » Thu 15 Jan 2009 23:16

I need to know if, and how it is possible to handle errors when a TMSQuery on a server recieves bad sql to open from a client. Right now, i'm seeing error handlers for every sql statement but selects, and those are the ones i really need. Thanks

Devart Team
Posts: 2885
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Fri 16 Jan 2009 13:21

You can handle the TMSConection.OnError event and see the error code in EDAError.

Post Reply