Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do you save a filter condition?
Message
 
À
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:
00133611
Vues:
13
>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 (&)
>//:^)

Larry,

You are right that name expressions are better than macros, but only where they work. A name expression will not work in the expression of a set filter. They only work where VFP is expecting the name of something. SET FILTER must be either;

SET FILTER &cFilter

or

SET FILTER EVALUATE(cFilter)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform