🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Using ADO to bypass concurrency checks in a TADOQuery

#143
From: PaulR
Date: Tue, 10 Apr 2007 17:18
14 lines
1536 bytes
Vassiliev V. V. wrote:
> Try to set Recordset.Properties['Update Criteria'].Value to adCriteriaKey 
> ( = 0). After that it should locate row by key, not by all columns - be sure 
> that you have PK.

Hi, thanks for your suggestion.  I'm working in C++, and I'm having a 
hard time figuring out how to implement this in C++.  The IDE shows the 
[] being overridden, but I can't figure out how to pass in the property 
name.  Doing Properties["Update Criteria"] doesn't work.

Any suggestions?

Thanks,
Paul Rodden
Technical Details
Message-ID: <461bc6f0$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <461ac4e3$1@newsgroups.borland.com> <461b9ea0$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10698b,c660d6ef8236021d
X-Google-Attributes: gid10698b,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Tue, 10 Apr 2007 12:18:54 -0500
From: PaulR <nospam_prodden@jwscorp.com_nospam>
User-Agent: Thunderbird 1.5.0.10 (Windows/20070221)
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.database.ado
Subject: Re: Using ADO to bypass concurrency checks in a TADOQuery
References: <461ac4e3$1@newsgroups.borland.com> <461b9ea0$1@newsgroups.borland.com>
In-Reply-To: <461b9ea0$1@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 66.141.242.129
Message-ID: <461bc6f0$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1176225520 66.141.242.129 (10 Apr 2007 10:18:40 -0800)
Lines: 14
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail