I'm using Delphi 2007 with ADO to access a MS SQL 2008 database.
A stored procedure on the database prevalidates the input and if the validation fails it returns an error result set (containing custom error info). Uisng the SQL Server Management Studio, when I run the stored proc I get the custom error result set in one tab and the native error message in another.
Back in my Delphi app, when I open the stored proc, I can access the custom error result set. However, the "Errors" object on the ADO connection does not contain the native error.
How do I access the Errors collection object so I can provide more information about the cause of the error ?
Thanks