🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Additional information to close a TTable DB connection?

#2763
From: Ivo Karindi
Date: Wed, 02 Apr 2003 06:23
15 lines
1665 bytes
Using TTable, what are the different options to close a connection to MS
Access?  I have tried TTable->Close() and TTable->Free() in addition to
closing the associated form which should all perform pretty much the same
thing, but for some reason something still remains hanging.  This happens
both in BCB 4 and 5 with Win2k.

The story is that I'm opening the database connection from a DLL function
call, but after the function has been run and everything should be quiet
again, the database connection still remains open.  What additional options
can I try to close down the database connection?  What else is there that
can be closed?

TIA,

Ivo Karindi
Technical Details
Message-ID: <3e8a81cf$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!diablo.theplanet.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,2895b3e7fba0e15f,start
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2003-04-01 22:39:42 PST
Reply-To: "Ivo Karindi" <solk@ieslc.com>
From: "Ivo Karindi" <solk@ieslc.com>
Newsgroups: borland.public.cppbuilder.database.ado
Subject: Additional information to close a TTable DB connection?
Date: Wed, 2 Apr 2003 09:23:05 +0300
Lines: 17
Organization: IESLC
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 213.35.136.182
Message-ID: <3e8a81cf$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1049264591 213.35.136.182 (1 Apr 2003 22:23:11 -0800)
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!diablo.theplanet.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail