🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

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

#209
From: Azrin Aris
Date: Sat, 16 Jun 2007 10:55
52 lines
2631 bytes
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: <4673c19f@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <46681c2c$1@newsgroups.borland.com> <46734345@newsgroups.borland.com> <4673920c$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 18:55:16 +0800
From: Azrin Aris <azrin_aris@yahoo.com>
User-Agent: Thunderbird 2.0.0.0 (Windows/20070326)
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>
In-Reply-To: <4673920c$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: <4673c19f@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1181991327 218.111.162.212 (16 Jun 2007 03:55:27 -0700)
Lines: 52
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
X-Original-Bytes: 2483