🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

still trying to figure out eof bof problem...

#5661
From: Peter Dragun
Date: Wed, 28 Mar 2001 16:47
26 lines
1978 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: <3ac26a56_2@dnews>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!bignews.mediaways.net!news-fra1.dfn.de!news-koe1.dfn.de!news-was.dfn.de!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews!24.141.90.110

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,ad3eeaf1a1c6e2a,start
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2001-03-28 15:01:18 PST
Reply-To: "Peter Dragun" <pdragun@home.com>
From: "Peter Dragun" <pdragun@home.com>
Newsgroups: borland.public.cppbuilder.database.ado
Subject: still trying to figure out eof bof problem...
Date: Wed, 28 Mar 2001 17:47:09 +0100
Lines: 30
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: <3ac26a56_2@dnews>
X-Trace: 28 Mar 2001 14:48:54 -0800, 24.141.90.110
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!bignews.mediaways.net!news-fra1.dfn.de!news-koe1.dfn.de!news-was.dfn.de!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews!24.141.90.110