Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setting filter on a table
Message
 
À
18/07/2002 13:53:20
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00679990
Message ID:
00680100
Vues:
23
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform