🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: EOleException with ODBC-Provider

#3668
From: Vassiliev V.V.
Date: Thu, 04 Jul 2002 06:44
41 lines
2225 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: <3d241857$0$225$4d4ebb8e@read.news.nl.uu.net>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed.freenet.de!bnewspeer01.bru.ops.eu.uu.net!bnewspost00.bru.ops.eu.uu.net!emea.uu.net!read.news.nl.uu.net!not-for-mail
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 02:43:28 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed.freenet.de!bnewspeer01.bru.ops.eu.uu.net!bnewspost00.bru.ops.eu.uu.net!emea.uu.net!read.news.nl.uu.net!not-for-mail
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
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
Lines: 43
Message-ID: <3d241857$0$225$4d4ebb8e@read.news.nl.uu.net>
NNTP-Posting-Host: bastion1.hiscom.nl
X-Trace: 1025775703 read.news.nl.uu.net 225 130.78.143.1
X-Complaints-To: abuse@nl.uu.net