Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Parameter NOT FOUND in forms.init with set filter
Message
De
09/09/1999 15:21:51
 
 
À
09/09/1999 14:02:38
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00263033
Message ID:
00263088
Vues:
21
>Hello
>
>I am passing parameter to a form, in teh init I have the following code that give error VARIABLE NOT FOUND.
>*****************
>PARAMETER numID
>
>SELECT mains
>SET filter to mains.id = numid
>
>*****
>
>This one will work OK
>---------------------
>PARAMETER numID
>
>public x
>x=numID
>
>SELECT mains
>SET filter to mains.id = x
>************************
>
>If I change teh PUBLIC to PRIVATE I will receive the same error.
>Before set filter I can do WAIT WIND STR(numID) without a problem.
>
>what am I missing here???

NumID passes out of scope and causes the filter to blow up after the fact...
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