You might be better off avoiding the whole filter issue and use a view!
>I figured that. :) I was just trying to avoid the whole scope issue all together.
>
>Thanks,
>
>Michelle
>
>
>>Make cCustno an application object property or some other object property that is always in scope.
>>
>>>I'm running into the problem where I set the filter to a variable and later on it moves the record pointer and complains that the variable doesn't exist when it re-evaluates the filter.
>>>
>>>Is there a way to say "SET FILTER TO custno = lcCustno" and have it set to the _value_ in lcCustno so that later on it doesn't need to have lcCustno in scope?
>>>
>>>Thanks,
>>>
>>>Michelle
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05