Exception Handling with DB express
I am migrating our application from BDE to DBexpress in Delphi2010.We are connecting to Sybase Database.
The exceptions raised by stored procedure using raiseerror message was getting captured by BDE but the same is not happening with DBexpress.
Eg the stored proc contains the below statement if any validation fails
select @msg = "Could not perf开发者_JS百科orm the edit because another user has changed the record "
if @field1 <> @field2 raiserror 20999 @msg return end
Is there any way to catch this exception with DB express.
or Is it a bug in dbexpress?
Thanks!
Maybe have a look at
http://www.delphigroups.info/2/9/753836.html
精彩评论