🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

ADO error with a empty query

#5323
From: GARRET
Date: Fri, 22 Jun 2001 14:27
18 lines
1426 bytes
Hello

I make a TADOQuery in execution with this code :

   CS_Query = new TADOQuery(Application);
   CS_Query->Connection=TestADOCS->CS_Connection;

I execute this query :
   CS_Query->Close();
   CS_Query->SQL->Clear();
   CS_Query->SQL->Text = "Select * from customer where idcustomer=0";
   CS_Query->Open();

This query is empty.
If i execute also this empty query, i have this error message :
"BOF or EOF is true, or the record is deleted"

remark : if this query is not empty, it's OK.
Technical Details
Message-ID: <3b3356f1_2@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!news.tele.dk!194.25.134.62!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,4bc3ec60dc9b731a,start
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2001-06-22 07:42:13 PST
Reply-To: "GARRET" <gjerome.datamflutec@massy.apilog.com>
From: "GARRET" <gjerome.datamflutec@massy.apilog.com>
Newsgroups: borland.public.cppbuilder.database.ado
Subject: ADO error with a empty query
Date: Fri, 22 Jun 2001 16:27:45 +0200
Lines: 20
Organization: Flutec
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
NNTP-Posting-Host: 193.250.50.18
Message-ID: <3b3356f1_2@dnews>
X-Trace: dnews 993220337 193.250.50.18 (22 Jun 2001 07:32:17 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!news.tele.dk!194.25.134.62!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews