🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

ADO Strange Error on DBGrids - Help!

#5440
From: Piero Salandin
Date: Sat, 05 May 2001 17:56
19 lines
1695 bytes
Using C++Builder 5 Ent on W98, with MDAC 2.6 installed.

Let's say that I have a DBGrid relying on a TDataSource, which relies on a
TADoDataSet, which has a simple, one table "Select..." clause.
When I insert a row on the DBGrid by, for example, pressing the DownArrow
key on the last line, and then I press Escape or UpArrow to cancel the
operation, I get the following exception:

"Either BOF or EOF is true, or the current record has been deleted.
Requested operation requires a current record."

This happens with any kind of cursor type and location, and it has non sense
at all.
I tried the ADO Briefcase demo that ships with CBuilder and it happens there
also.

What should I do?

Thanks, I'm in a mess!
Technical Details
Message-ID: <3af44372$1_1@dnews>
Path: arc1-ca.pugleaf.net!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!sunqbc.risq.qc.ca!nntp1.njy.teleglobe.net!teleglobe.net!hub.org!hub.org!PeerFeed.KWeb.on.ca!dnews

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f5cad,e77fad09dd52f0b8,start
X-Google-Attributes: gidf5cad,public
X-Google-Thread: 10698b,e77fad09dd52f0b8,start
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2001-05-05 11:24:58 PST
From: "Piero Salandin" <piero.salandin@libero.it>
Newsgroups: borland.public.cppbuilder.database.ado,borland.public.delphi.database.ado
Subject: ADO Strange Error on DBGrids - Help!
Date: Sat, 5 May 2001 19:56:38 +0200
Lines: 23
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: 151.25.122.134
Message-ID: <3af44372$1_1@dnews>
X-Trace: dnews 989086578 151.25.122.134 (5 May 2001 11:16:18 -0700)
Path: arc1-ca.pugleaf.net!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!sunqbc.risq.qc.ca!nntp1.njy.teleglobe.net!teleglobe.net!hub.org!hub.org!PeerFeed.KWeb.on.ca!dnews