Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Little problem
Message
De
29/01/1999 21:16:04
 
 
À
29/01/1999 21:08:26
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00182104
Message ID:
00182105
Vues:
15
>Hey
>I try in english after
>
>Pourquoi la comparaison n'est j'amais vrai
>Why my compare is never true oregal
>
>FOR gnCount = 1 TO 10
> lcTest = 'txtfnoproduit' + alltrim(str(gnCount))+".value"
> lcTest1 = Thisform.&lcTest

Try:

lcTest1 = EVAL("Thisform."+lcTest)

> lcTest1 = padr(alltrim(lcTest1) ,len('page.cnoproduit'))

lcTest1 = PADR(ALLTRIM(lcTest1), LEN(page.cnoproduit))

You want the length of the field, not the length of the literal

>
> do while !EOF()
> if 'page.cnoproduit' = lcTest1
> OU OR
> scan for 'page.cnoproduit' = lcTest1

scan for page.cnoproduit == lcTest1
OR
IF page.cnoproduit == lcTest1


>
>Pierre P Thanks
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform