Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Scoping a filter
Message
From
12/02/2007 11:43:58
 
 
To
12/02/2007 11:37:51
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
01194766
Message ID:
01194772
Views:
10
>>Suppose the init of a form USES a table and sets a filter based on a local variable as in
>>
>>
>>** form.init
>>lparams lcFilter
>>use mytable
>>set filter to field1 = lcFilter
>>
>>
>>The form also has a button for BROWSE but the browse fails because the variable lcFilter is out of scope for the button. What is the best technique to deal with this?
>>
>>- Don
>
>Could you use a form property rather than the variable?

That would be an option, Yes.
Thanks
Previous
Reply
Map
View

Click here to load this message in the networking platform