🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: free.it.visual-basic
Article #410

Re: Contare record su Vb

#410
From: Fabio
Date: Thu, 08 Jun 2006 14:00
15 lines
1808 bytes
"Antonio BIANCO" <biancoantonio@tele2.it> ha scritto nel messaggio 
news:HjChg.205


>  Caro ammico di VB, premesso che  sono solo un amatore della 
> programmazione di basso livello, se ho ben capito il problema ti conviene 
> usare la propriet� recordcount di rs ,� molto semplice, inoltre usa anche 
> questa stringa sql
>  > sql = "select corso from corsi" che si riferisce al campo corso della 
> tabella corsi.
>  >Text1.Text = rs.Recordset.Recordcount

RecordCount non � affidabile se il recordset non � ordinato.

Ciao 
Technical Details
Message-ID: <44882d6c$0$29736$4fafbaef@reader2.news.tin.it>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!news.belwue.de!news.osn.de!diablo2.news.osn.de!news.germany.com!feeder.news.tin.it!spool.news.tin.it!not-for-mail
References: <eBVgg.24828$cX1.390091@twister2.libero.it> <HjChg.205$Gl1.85@nntpserver.swip.net>

Show Full Headers
Complete Article Headers
X-Google-Thread: f94ee,511f60b5208deec3
X-Google-Thread: 10b997,511f60b5208deec3
X-Google-Attributes: gidf94ee,gid10b997,public
X-Google-Language: ITALIAN,ASCII
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!news.belwue.de!news.osn.de!diablo2.news.osn.de!news.germany.com!feeder.news.tin.it!spool.news.tin.it!not-for-mail
From: "Fabio" <znt.fabio@virgilio.it>
Newsgroups: free.it.visual-basic,it.comp.lang.visual-basic
References: <eBVgg.24828$cX1.390091@twister2.libero.it> <HjChg.205$Gl1.85@nntpserver.swip.net>
Subject: Re: Contare record su Vb
Date: Thu, 8 Jun 2006 16:00:15 +0200
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Response
Lines: 17
Message-ID: <44882d6c$0$29736$4fafbaef@reader2.news.tin.it>
Organization: TIN.IT (http://www.tin.it)
X-Comments: Please send technical notifications to newsmaster@tin.it
NNTP-Posting-Host: 213.45.20.59
X-Trace: 1149775212 reader2.news.tin.it 29736 213.45.20.59:1793
X-Complaints-To: Please send abuse reports to abuse@tin.it