Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Little problem
Message
From
29/01/1999 21:16:04
 
 
To
29/01/1999 21:08:26
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00182104
Message ID:
00182105
Views:
14
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform