🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

ADOConnection->DataSetCount problem

#5824
From: Jirzi
Date: Fri, 26 Jan 2001 16:03
14 lines
1539 bytes
Hi,
does anyone know, what exactly ADOConnection->DataSetCount returns? Help
says that that is:
' the number of currently active datasets associated with the connection
component'. So every active TADOTable for example counts one. If table
becomes not active, the number decreases. OK, that's fine, but when I tried
to follow the number of open datasets, the number becomes 10 (I have 10
TADOTables connected to TADOConnection, but they are all closed in design
time and opened as necessary), when the program loads and does not change,
but is should because I open and close datasets all the time. I also list
datasets (ADOConnection->DataSets[i]->Name) in the listbox and there are all
my tables listed all the time. Any comments?

Jirzi
Technical Details
Message-ID: <3a719f79$1_1@dnews>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!isdnet!newsfeeds.belnet.be!naxos.belnet.be!news.belnet.be!bornews.borland.com!dnews!212.30.93.105

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,c7de9fb296289c9f,start
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2001-01-26 08:10:51 PST
From: "Jirzi" <jirzi@hotmail.com>
Newsgroups: borland.public.cppbuilder.database.ado
Subject: ADOConnection->DataSetCount problem
Date: Fri, 26 Jan 2001 17:03:55 +0100
Lines: 16
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
NNTP-Posting-Host: 212.30.93.105
Message-ID: <3a719f79$1_1@dnews>
X-Trace: 26 Jan 2001 08:02:01 -0800, 212.30.93.105
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!isdnet!newsfeeds.belnet.be!naxos.belnet.be!news.belnet.be!bornews.borland.com!dnews!212.30.93.105