Can't you run a second process to return a simple value, and if the value (recordset) is empty, then you can deduce you have lost the connection? (If you run it on the same connection) I admit, it is a kludge, but it monitors the connection nevertheless. Run the sample before your process, and if the recordset = 0, then reestablish the connection.
HTH
mmcdonal
|