Article View: borland.public.cppbuilder.database.ado
Article #5558ado + sqlserver
From: Peter Dragun
Date: Thu, 12 Apr 2001 16:19
Date: Thu, 12 Apr 2001 16:19
26 lines
1923 bytes
1923 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:
<3ad61c06_2@dnews>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!news.maxwell.syr.edu!news-out.nuthinbutnews.com!propagator!feed2.newsfeeds.com!newsfeeds.com!news.bnb-lp.com!dnewsShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10698b,e3884d02f7bd443f,start X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2001-04-12 14:44:06 PST Reply-To: "Peter Dragun" <pdragun@home.com> From: "Peter Dragun" <pdragun@home.com> Newsgroups: borland.public.cppbuilder.database.ado Subject: ado + sqlserver Date: Thu, 12 Apr 2001 17:19:31 +0100 Lines: 29 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: <3ad61c06_2@dnews> X-Trace: dnews 987110406 24.141.90.110 (12 Apr 2001 14:20:06 -0700) Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!news.maxwell.syr.edu!news-out.nuthinbutnews.com!propagator!feed2.newsfeeds.com!newsfeeds.com!news.bnb-lp.com!dnews