General information
Title:
Error() returns 0 for a 1526 style error
Environment versions
Network:
Windows 2003 Server
Hi
I wonder if any body can shed any light on this one?
I have two views, which share a connection, the first view requeries it's data and ties up the connection. A second view attempts to download it's data and raises a busy style connection error.
This is fine and I have a method implemented that tests the busyness of the connection and does the right thing, this isn't the problem.
What I'm seeing is that when the second view attempts to use the connection my error handler traps the error but error() equals 0 when I would expect it to be 1526
so,
? error() = 0
? Message() = "Connectivity error [Microsoft][ODBC SQL Server Driver]Connection is busy with results for another hstmt"
? Sys(2018) = [Microsoft][ODBC SQL Server Driver]Connection is busy with results for another hstmt"
Does anybody know why error() returns 0 and not 1526?
issuing AErrors() places 1526 into the first array element correctly.
Anybody seen this?
Thanks, Bernard.
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only