Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setting filter on a table
Message
 
To
18/07/2002 13:53:20
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00679990
Message ID:
00680100
Views:
22
When you set filter your way, locac variable lcfilter disappeares as soon as you quit the subrutine where it was declared. But the table remains with /set filter/ having lcfilter in filter expression.

When you use local variable lccom, then filter expression contains real values instead of variable lcfilter. And as soon as macro executed (&lccom) and filter is set, variable lccom is not needed anymore.


>This worked! Thanks. But why does it work? lccom is a LOCAL var just like lcfilter.
>
>Thanks,
>
>Jerryt
>
>
>>local lccom
>>lccom="SET FILTER TO mytable.myfield = '+lcfilter +"'"
>>&lccom
Previous
Reply
Map
View

Click here to load this message in the networking platform