๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Ciclo FOR e visualizzazione form

#840
From: Giovanni
Date: Fri, 26 Aug 2005 10:49
24 lines
1735 bytes
"El Gioppinho" <daropp@ELIMINABINLADENtin.it> ha scritto nel messaggio
news:3oBPe.83356$2U1.4225953@news3.tin.it...
> For i = 1 To NVolte
>      FormInserimento.Show
>      i = i + 1
> Next i

A parte che " i = i + 1 " non devi metterlo in quanto in un ciclo for la
variabile " i " incrementa da sola fino a " NVolte " di una unit๏ฟฝ per volta
se non diversamente specificato..."

> Eseguendo il programma, il form di inserimento appare solo per la prima 
> volta

Il fatto sta che magari NVolte ๏ฟฝ = 2 e il ciclo mostra il for la volta " 1
", tu aggiungi 1 a " i " che diventa 2 e quindi la seconda volta non lo
mostra piu.

Poi non avendo altro codice, non so come ti si possa aiutare...

---

Giovanni
Technical Details
Message-ID: <wsCPe.17573$zs.11541@tornado.fastwebnet.it>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!tornado.fastwebnet.it!53ab2750!not-for-mail
References: <soBPe.83357$2U1.4225927@news3.tin.it>

Show Full Headers
Complete Article Headers
X-Google-Thread: f94ee,62d34a94636a589
X-Google-Attributes: gidf94ee,public
X-Google-Language: ITALIAN,ASCII
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!tornado.fastwebnet.it!53ab2750!not-for-mail
Reply-To: "Giovanni" <cassonetto@fastwebnet.it>
From: "Giovanni" <cassonetto@fastwebnet.it>
Newsgroups: free.it.visual-basic
References: <soBPe.83357$2U1.4225927@news3.tin.it>
Subject: Re: Ciclo FOR e visualizzazione form
Lines: 27
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2527
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527
X-RFC2646: Format=Flowed; Response
Message-ID: <wsCPe.17573$zs.11541@tornado.fastwebnet.it>
Date: Fri, 26 Aug 2005 12:49:53 +0200
NNTP-Posting-Host: 5.6.216.58
X-Complaints-To: newsmaster@fastweb.it
X-Trace: tornado.fastwebnet.it 1125053340 5.6.216.58 (Fri, 26 Aug 2005 12:49:00 CEST)
NNTP-Posting-Date: Fri, 26 Aug 2005 12:49:00 CEST