🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: EOleException with ODBC-Provider

#3666
From: Vassiliev V.V.
Date: Thu, 04 Jul 2002 06:44
41 lines
2111 bytes
Can you send EOleException.ErrorCode value? It is the same for all
languages.

And which row do you update?

// set up QueryString etc.
pDataset->Open();
pDataset->Edit();
// doing changes here
pDataset->Post();

Try pDataset->First();
somewhere after pDataset->Open();
or position to row by other method.

Regards,
Vassiliev V.V.
http://www.oledbdirect.com

"Thomas Wagener" <Thomas.Wagener@web.de> �������/�������� � ��������
���������: news:3d22f0dc_1@dnews...
> Hi Vassiliev,
>
> "Vassiliev V.V." <news@vassilievvv.mtu-net.ru> schrieb im Newsbeitrag
> news:3d22aea2_1@dnews...
> > What is an error (EOleException.ErrorCode)? You may have, for example,
> > read-only dataset or have no bookmarks support.
>
> The error message is something along the lines of "The row to be updated
was
> not found. Some of the values might have changed since the last read". (I
> have a German CBuilder so I can't give you the exact English message)
>
> The database is a MS Access database. When I try to access the database
> directly over the Jet Engine everything works fine.
>
> Thank you for your help,
>
> Thomas
>
>
Technical Details
Message-ID: <3d23f6d8_2@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!supernews.com!iad-peer.news.verio.net!news.verio.net!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews
References: <3d21aa5d_1@dnews> <3d22aea2_1@dnews> <3d22f0dc_1@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 10698b,3d4eab4134d353e5
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2002-07-04 00:30:54 PST
From: "Vassiliev V.V." <news@vassilievvv.mtu-net.ru>
Newsgroups: borland.public.cppbuilder.database.ado
References: <3d21aa5d_1@dnews> <3d22aea2_1@dnews> <3d22f0dc_1@dnews>
Subject: Re: EOleException with ODBC-Provider
Date: Thu, 4 Jul 2002 10:44:55 +0400
Lines: 43
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
NNTP-Posting-Host: 62.118.133.123
Message-ID: <3d23f6d8_2@dnews>
X-Trace: dnews 1025767128 62.118.133.123 (4 Jul 2002 00:18:48 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!supernews.com!iad-peer.news.verio.net!news.verio.net!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews