🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: How to access SET an ADODataSet->Properties ?

#1794
From: Stefano
Date: Wed, 28 Jan 2004 13:51
28 lines
2039 bytes
Ciao Giuliano,

>     try to use the Value property. Have a look at the following snippet
> (untested):
>
>     const WideString PropertyName = "Jet OLEDB:Flush Transaction Timeout";
>
>     _di_Properties Properties( ADODataSet1->Recordset->Properties );
>     Properties->Item[ PropertyName ]->Value = 2000;

thanks again for your help!

I've tried also with this code, but result don't change.

I't seems that the PropertyName "Jet OLEDB:Flush ... ecc..." does not exist.
I've also tried with other PropertyName values (I've got from Microsoft ADO
site) but it does not work!  :-(

Are this Properties valid also for ADODataSet component ?
Or are valid only for ActiveX ADOX component ?

I've nevere specified that I use the ADODataSet Component from ADO  BCB6
palette.
Do I've to use other components ?

Nobody have used ADO properties before ?

Thanks again.
Technical Details
Message-ID: <4017be6a$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <40156a5a$1@newsgroups.borland.com> <40162f62@newsgroups.borland.com> <38nc10pl11qf6efonis8aurhk0bjil34pp@4ax.com> <40166cd4@newsgroups.borland.com> <l6sc10p10i00jr878biqs22htn3ikmaems@4ax.com> <401685f0@newsgroups.borland.com> <74gd1096l31c5omlbsvfvmcck1v70uiupo@4ax.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,381735cb69b5c95
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2004-01-28 06:10:24 PST
From: "Stefano" <s.dardari@tin.it>
Newsgroups: borland.public.cppbuilder.database.ado
References: <40156a5a$1@newsgroups.borland.com> <40162f62@newsgroups.borland.com> <38nc10pl11qf6efonis8aurhk0bjil34pp@4ax.com> <40166cd4@newsgroups.borland.com> <l6sc10p10i00jr878biqs22htn3ikmaems@4ax.com> <401685f0@newsgroups.borland.com> <74gd1096l31c5omlbsvfvmcck1v70uiupo@4ax.com>
Subject: Re: How to access SET an ADODataSet->Properties ?
Date: Wed, 28 Jan 2004 14:51:30 +0100
Lines: 30
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 80.183.125.54
Message-ID: <4017be6a$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1075297898 80.183.125.54 (28 Jan 2004 05:51:38 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail