🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.ado
Article #2675

Detecting Connection Status

#2675
From: John McDonald
Date: Thu, 15 May 2003 15:33
12 lines
1354 bytes
Hi,

Is there a good way to determine the connection status using
ADOConnection object??  I tried an experiment where I
connected to the database, unplugged the patch cable to the
DB server (simulated network outage), then checked the status
of ADOConnection1->Connected which returned true.  Do
I have to submit a query to check the connection to the database??

Thx,

John
Technical Details
Message-ID: <3ec3b29d$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!newsswitch.lcs.mit.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,f1b2179587ed5f04,start
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2003-05-15 08:36:04 PST
From: "John McDonald" <mcdonald@airtalk.com>
Newsgroups: borland.public.cppbuilder.database.ado
Subject: Detecting Connection Status
Date: Thu, 15 May 2003 08:33:06 -0700
Lines: 14
Organization: System Studies
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 209.78.255.139
Message-ID: <3ec3b29d$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1053012637 209.78.255.139 (15 May 2003 08:30:37 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!newsswitch.lcs.mit.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail