Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do you save a filter condition?
Message
De
05/09/1998 14:00:50
 
 
À
05/09/1998 13:56:33
Larry Long
ProgRes (Programming Resources)
Georgie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00133456
Message ID:
00133587
Vues:
10
>>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform