>I've been successfully running an application that involves a connection to SQL Server using the SQLEXEC() function. I'm now testing the program against a new copy of the database and am now getting consistent -1 return codes when I query the database, even though I have a valid connection handle. Previous copies of the database did not issue this error, so I'm pretty sure it's a problem in the database itself.
>
>Not sure how to proceed on this one...
David,
Did you try getting detailed error information from aError() function?
If it's not broken, fix it until it is.
My Blog