Hi everybody,
Could anybody help me out with this one:
i am currently handling the error in the case where sql server is stopped in the middle of a process
-----
If Err.Number = 3146
While MsgBox("ODBC Failed",, vbRetryCancel)=vbRetry AND check = False
Check
End If
Wend
Resume
----
Function Check verifies whether SQL server is running or not.
However when the sql started and i am able to resume , i am getting the same runtime error when i set a new recordset even if now sql server is running
Could anybody help me out with this one:
i am currently handling the error in the case where sql server is stopped in the middle of a process
-----
If Err.Number = 3146
While MsgBox("ODBC Failed",, vbRetryCancel)=vbRetry AND check = False
Check
End If
Wend
Resume
----
Function Check verifies whether SQL server is running or not.
However when the sql started and i am able to resume , i am getting the same runtime error when i set a new recordset even if now sql server is running