Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do you save a filter condition?
Message
From
05/09/1998 14:00:50
 
 
To
05/09/1998 13:56:33
Larry Long
ProgRes (Programming Resources)
Georgia, United States
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00133456
Message ID:
00133587
Views:
11
>>>Close... it would be set filter to &cFilter
>>>
>>>>>You can use the set() function to do this. You could save the variable to a .mem file and restore it later, or store it in a table.
>>>>>
>>>>>cFilter = set("Filter")
>>>>>
>>>>>>How do you save a filter condition for later use?
>>>>>>I am using SET FILTER.
>>>>-------
>>>>Hey Ken - and thanks
>>>>That will save my filter, but what if I want to use it again?
>>>>Will I code:
>>>>set filter to cfilter
>>-----
>>great = thanks.. :)
>
>It's better to use
>set filter to (cfilter)
>
>Use the evaluate expression (i.e. parens) wherever possible. It is many times fster than macro substitution (&)
>//:^)


Parenthesis don't work in this case. You must use & for macro substitution. Parenthesis usually will work where a file name is involved.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Reply
Map
View

Click here to load this message in the networking platform