Article View: borland.public.cppbuilder.database.ado
Article #5781Re: Recordset Property syntax
From: Giuliano
Date: Mon, 12 Feb 2001 14:45
Date: Mon, 12 Feb 2001 14:45
19 lines
1439 bytes
1439 bytes
On Mon, 12 Feb 2001 08:51:09 -0500, "Tony" <hse@hill-soft.com> wrote:
>Can someone show me the cppbuilder syntax for setting/getting ado recordset
>properties? For example:
>Rs->Properties("Update Resync")->Value = adResyncUpdates.
>
Hi Tony,
try with something like this (untested):
_di_Properties Properties( ADODataSet->Recordset->Properties );
for( int Idx = 0 ; Idx < Properties->Count ; Idx++ )
if( Properties->Item[Idx]->Name == WideString( "Update Resync" ) )
Properties->Item[Idx]->Value = adResyncUpdates;
Ciao
Giuliano
Technical Details
Message-ID:
<3a87f4b7.319479567@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!news.tele.dk!128.230.129.106!news.maxwell.syr.edu!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!bornews.borland.com!dnews!194.183.65.149References:
<3a87e9bc$1_2@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10698b,622edc0bdb7c8cb2 X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2001-02-12 07:02:27 PST From: gcardinali@remove.adhoc.net (Giuliano) Newsgroups: borland.public.cppbuilder.database.ado Subject: Re: Recordset Property syntax Date: Mon, 12 Feb 2001 14:45:38 GMT Message-ID: <3a87f4b7.319479567@newsgroups.borland.com> References: <3a87e9bc$1_2@dnews> X-Newsreader: Forte Agent 1.5/32.451 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 194.183.65.149 X-Trace: 12 Feb 2001 06:49:07 -0800, 194.183.65.149 Lines: 20 Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!news.tele.dk!128.230.129.106!news.maxwell.syr.edu!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!bornews.borland.com!dnews!194.183.65.149