🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: DBText string to Int?

#2302
From: Denis L. Menezes
Date: Sun, 10 Aug 2003 15:27
26 lines
1593 bytes
I have managed this after finding another book on this subject.

Thanks very much.
Denis

"Denis L. Menezes" <menezesd@singnet.com.sg> wrote in message
news:3f362213$1@newsgroups.borland.com...
> Hello friends.
>
> I have a progressbar called progressbar1 on a form.
> On the same form I have a dbtext which is providing the number of records
in
> a dataset using (select count (*) ....etc etc.)
>
> I want to use the value in this dbtext(e.g. 73) as the position setting
for
> the progresPosition=sbar. So I wrote as follows :
>
> ProgressBar1->Position=StrToInt(DBText1->DataField)
>
> This dopes not work. Can someon please help?
>
> thanks
> Denis
>
>
Technical Details
Message-ID: <3f366468$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-01!sn-xit-09!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail
References: <3f362213$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,7a6a33d8c1024c92
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2003-08-10 08:31:56 PST
From: "Denis L. Menezes" <menezesd@singnet.com.sg>
Newsgroups: borland.public.cppbuilder.database.ado
References: <3f362213$1@newsgroups.borland.com>
Subject: Re: DBText string to Int?
Date: Sun, 10 Aug 2003 23:27:32 +0800
Lines: 28
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: 203.125.44.81
Message-ID: <3f366468$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1060529256 203.125.44.81 (10 Aug 2003 08:27:36 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-01!sn-xit-09!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail