Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Parameter NOT FOUND in forms.init with set filter
Message
From
09/09/1999 15:21:51
 
 
To
09/09/1999 14:02:38
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00263033
Message ID:
00263088
Views:
20
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform