I'm using Delphi 2007 with ADO to access a SQL Server 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). Using SQL Server Management Studio, when I run the stored procedure, 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 procedure, 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