Page 1 of 1

New Event tmyConnection.onwarning

Posted: Thu 04 Mar 2021 21:20
by Daniel Fagnan
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

Re: New Event tmyConnection.onwarning

Posted: Fri 05 Mar 2021 09:48
by ViktorV
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.

Re: New Event tmyConnection.onwarning

Posted: Fri 30 Apr 2021 19:17
by davidmarcus
Documentation for TMyWarningEvent and TMyErrors would be helpful. Also, EMyError has an ErrorLevel property that is not documented.