🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: CommandTimeout in TADOQuery

#2471
From: Jens Nielsen
Date: Tue, 01 Jul 2003 08:16
26 lines
1748 bytes
Thanks!

I didn't look properly in docs.

I just can't see why they made this property public in TADOQuery ?

Jens

"Matt Jacobs" <noyb@noyb.com> skrev i en meddelelse
news:lcl0gv4v1qb69sogccjh14bbj5fvoi7kd4@4ax.com...
> "Jens Nielsen" <JN@CRMT.DK> wrote:
>
> >Hi
> >
> >I use BCB 5.0 pro and the ADOExpress package.
> >
> >I found that TADODataset::CommandTimeout isn't accessible from TADOQuery
?
> >
> >Is fix/upgrade for this or do I have to use TADODataset instead? (= lot's
> >code change and testing :-(
>
> Did you try this?
>
> ((TADODataSet *)ADOQuery1)->CommandTimeout = 60;
>
Technical Details
Message-ID: <3f014185@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!38.144.126.75.MISMATCH!feed1.newsreader.com!newsreader.com!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3f003298$1@newsgroups.borland.com> <lcl0gv4v1qb69sogccjh14bbj5fvoi7kd4@4ax.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,f4a24a2ba9246f37
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2003-07-01 01:09:56 PST
Reply-To: "Jens Nielsen" <JN@CRMT.DK>
From: "Jens Nielsen" <JN@CRMT.DK>
Newsgroups: borland.public.cppbuilder.database.ado
References: <3f003298$1@newsgroups.borland.com> <lcl0gv4v1qb69sogccjh14bbj5fvoi7kd4@4ax.com>
Subject: Re: CommandTimeout in TADOQuery
Date: Tue, 1 Jul 2003 10:16:49 +0200
Lines: 28
Organization: CRM Technologies
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: 212.242.54.58
Message-ID: <3f014185@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1057046917 212.242.54.58 (1 Jul 2003 01:08:37 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!38.144.126.75.MISMATCH!feed1.newsreader.com!newsreader.com!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail