New Event tmyConnection.onwarning

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Daniel Fagnan
Posts: 58
Joined: Fri 13 Oct 2006 00:08

New Event tmyConnection.onwarning

Post by Daniel Fagnan » Thu 04 Mar 2021 21:20

I search in help or a demo how to used this new event onwarning.
Where and why and how to used?
someone has info?
Thank you
Daniel Fagnan

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: New Event tmyConnection.onwarning

Post by ViktorV » Fri 05 Mar 2021 09:48

The LastWarningCount property in TMyConnection holds the warnings count resulting from the most recent statement executed in MySQL.
The OnWarning event is triggered if the value of the LastWarningCount property is greater than 0.

We'll add a description of new members in MyDAC within a few days.

davidmarcus
Posts: 50
Joined: Tue 25 Jan 2005 11:22
Location: Somerville, MA
Contact:

Re: New Event tmyConnection.onwarning

Post by davidmarcus » Fri 30 Apr 2021 19:17

Documentation for TMyWarningEvent and TMyErrors would be helpful. Also, EMyError has an ErrorLevel property that is not documented.

Post Reply