>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...