Article View: borland.public.cppbuilder.database.ado
Article #5630ADO BOF EOF
From: Peter Dragun
Date: Sun, 25 Mar 2001 18:44
Date: Sun, 25 Mar 2001 18:44
26 lines
1885 bytes
1885 bytes
Hello,
I am using CB5pro, with ADOExpress, I have installed the latest ADOExpress
patch for CB5. I am also attaching to a MS SQL 2000 database, using MDAC
2.6. . I am using ADOQuery to work with the tables. Anytime I filter a
table and the result ends up being an empty instance of the table a BOF EOF
exception is thrown. I have read information about problems of this, and
apparently they have been fixed. But the problem still comes up. I never
had this sort of problem when I used MS SQL 7.0. Is there solution?
As an example of what I am doing. I have two tables:
TableA: TableB:
ID ID Id number-auto generated - key
Name AID references to ID in Table A
Description
I have to queries.
QueryA, and QueryB. I have two DBGridsA, and B. When ever DBGridAScroll
Event is triggered it will filter QueryB. But if QueryB ends up being empty
the exception is raised.
Is there a better way to do this, is there a way to fix this?
-Peter
Technical Details
Message-ID:
<3abe8337_1@dnews>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!news.tele.dk!213.56.195.71!fr.usenet-edu.net!usenet-edu.net!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews!24.141.90.110Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10698b,c0fb0c424fd2b520,start X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2001-03-25 15:51:14 PST Reply-To: "Peter Dragun" <pdragun@home.com> From: "Peter Dragun" <pdragun@home.com> Newsgroups: borland.public.cppbuilder.database.ado Subject: ADO BOF EOF Date: Sun, 25 Mar 2001 19:44:23 +0100 Lines: 28 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 NNTP-Posting-Host: 24.141.90.110 Message-ID: <3abe8337_1@dnews> X-Trace: 25 Mar 2001 15:45:59 -0800, 24.141.90.110 Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!news.tele.dk!213.56.195.71!fr.usenet-edu.net!usenet-edu.net!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews!24.141.90.110