🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

IsEmpty() not working with TADOQuery, TADOTable

#4352
From: dlabasse
Date: Mon, 14 Jan 2002 00:03
13 lines
1284 bytes
I have a SQLServer2000 table with one row.  If I created a Q as a
TADOQuery and then ask
  if (Q->IsEmpty())
it always returns true, even if first execute a "SELECT * from <Table>"

If I make a T as a TADOTable and point it to the correct table, then
 if (T->IsEmpty())
Still always returns true.

I've had lots of trouble with things not working with ADOExpress ... is
this one of those things?

thanks,
Technical Details
Message-ID: <3C422059.B6B4F18D@ghg.net>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!128.230.129.106!news.maxwell.syr.edu!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,59cd1a6222c32d8e,start
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2002-01-13 16:01:19 PST
Message-ID: <3C422059.B6B4F18D@ghg.net>
Date: Sun, 13 Jan 2002 18:03:37 -0600
From: dlabasse <dlabasse@ghg.net>
X-Mailer: Mozilla 4.77 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.database.ado
Subject: IsEmpty() not working with TADOQuery, TADOTable
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 64.243.71.99
X-Trace: dnews 1010966432 64.243.71.99 (13 Jan 2002 16:00:32 -0800)
Lines: 15
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!128.230.129.106!news.maxwell.syr.edu!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews