Hello,

I m using the Borland C++ Builder 6.0 and a Sybase DB. All inquiries run over Stored Procedures. If procedures are called wrongly or unauthorized, a Raiserror is generated.

(Stored Procedure Code) :

if @OPTION=4
begin
raiserror 66666 "this is testerror 66666"
return
end


Does anyone know how I can get this raiserror with the Borland Builder?
The only message I get is a exception message tellung me something like "Curdor did not return from query"

thanks for any help!