Subject OnError() event...
Author Dmitry Beloshistov
In my project I write this code (example):

with IB_Query1 do
close; sql.clear;
sql.add(' THIS IS SQL FOR TEST OnError() event' );

And do:
// if IB_Query1.Prepared then IB_Query1.Open; - no any effects - Prepared
always true ;(((

In database OnError() I have 3 events (if RaiseException=True)...
1) SQLError - dynamic SQL error
2) SQLError - dynamic SQL error
3) Exception "Statement failed to prepare..."

I want one message only - first SQLError for users...

Where I has error?

WBR, Dmitry Beloshistov AKA [-=BDS=-]
e-mail: torin@...