I typically do things like:
1) Check to see if the DBHandle ( ) is correct for SQLCA.
2) Execute something simple like ... Select @version;
- then check the DB return code.
Try the above on an NVUO running on a timer. If either fail - use
Disconnect/Connect to re-establish the DBMS connection.
HTH
--
Regards ... Chris
ISUG - NA RUG Director
Blog: http://chrispollach.pbdjmagazine.com
SourceForge: http://sourceforge.net/projects/stdfndclass
<Jaspreet> wrote in message news:4afc7000.7b7...@sybase.com...