🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Row cannot be located for updating... error

#211
From: Azrin Aris
Date: Sat, 16 Jun 2007 13:37
76 lines
3455 bytes
thank you very much :)


Vassiliev V. V. wrote:
> It is a bug in C++ Builder 6. Add to any unit (to main form, for example):
> 
> namespace System
> {
>  void __fastcall CheckSafecallResult(HRESULT hr)
>  {
>   OleCheck(hr);
>  }
> }
> 
> //------------------------------------------
> Regards,
> Vassiliev V. V.
> http://www.managed-vcl.com - using .Net objects in Delphi for Win32 +
> ADO.Net
> http://www.oledbdirect.com - The fastest way to access MS SQL Server,
> MS Jet (Access) and Interbase (through OLEDB)
> 
> 
> "Azrin Aris" <azrin_aris@yahoo.com> ???????/???????? ? ???????? ?????????: 
> news:4673c19f@newsgroups.borland.com...
>> Thank you for the translation. After I put the code in, now I got this 
>> link error:
>>
>> Unresolved external 'System::__linkproc__ __fastcall CheckAutoResult()'
>>
>> What do I need to include to the project file?
>>
>> Regards
>>
>> Azrin
>>
>> Vassiliev V. V. wrote:
>>> ADODataSet1->Recordset->Properties->Item[WideString("Update 
>>> Criteria")]->Value = adCriteriaKey;
>>>
>>> call after ADODataSet1->Active = true;
>>>
>>> //------------------------------------------
>>> Regards,
>>> Vassiliev V. V.
>>> http://www.managed-vcl.com - using .Net objects in Delphi for Win32 +
>>> ADO.Net
>>> http://www.oledbdirect.com - The fastest way to access MS SQL Server,
>>> MS Jet (Access) and Interbase (through OLEDB)
>>>
>>> "Azrin Aris" <azrin_aris@yahoo.com> ???????/???????? ? ???????? 
>>> ?????????: news:46734345@newsgroups.borland.com...
>>>> Azrin Aris wrote:
>>>>> Hi,
>>>>>
>>>>> I got the above error and I've search google grooups for answers. Got 
>>>>> alot of people have the same problem. most of it suggest to have unique 
>>>>> primary key in the table which I already have. But still couldn't get 
>>>>> the problem solved. Anyone have any ideas how to solve this?
>>>>>
>>>>> TIA
>>>>>
>>>>> Azrin
>>>> I found a solution in delphi but I do not know how to translate this is 
>>>> BCB. Here is the code
>>>>
>>>> ADODataSet1.Properties['Update Criteria'].Value = adCriteriaKey
>>>>
>>>> can someone please translate this into BCB?
>>>>
>>>> Thank you
>>>>
>>>> Cheers
>>>>
>>>> Azrin
> 
Technical Details
Message-ID: <4673e7bb$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsgate.cistron.nl!xs4all!news2.euro.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <46681c2c$1@newsgroups.borland.com> <46734345@newsgroups.borland.com> <4673920c$1@newsgroups.borland.com> <4673c19f@newsgroups.borland.com> <4673d3b4$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10698b,232a3271faa6e13e
X-Google-Attributes: gid10698b,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Sat, 16 Jun 2007 21:37:54 +0800
From: Azrin Aris <azrin_aris@yahoo.com>
User-Agent: Thunderbird 2.0.0.4 (Windows/20070604)
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.database.ado
Subject: Re: Row cannot be located for updating... error
References: <46681c2c$1@newsgroups.borland.com> <46734345@newsgroups.borland.com> <4673920c$1@newsgroups.borland.com> <4673c19f@newsgroups.borland.com> <4673d3b4$1@newsgroups.borland.com>
In-Reply-To: <4673d3b4$1@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Antivirus: avast! (VPS 000749-1, 06/15/2007), Outbound message
X-Antivirus-Status: Clean
NNTP-Posting-Host: 218.111.162.212
Message-ID: <4673e7bb$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1182001083 218.111.162.212 (16 Jun 2007 06:38:03 -0700)
Lines: 76
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsgate.cistron.nl!xs4all!news2.euro.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail