MyDAC
Occurs when LastWarningCount is greater than 0.
TMyConnection
property OnWarning: TMyWarningEvent;
The OnWarning event is triggered when the value of TCustomMyConnection.LastWarningCount is greater than 0.