Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Multiple Filters...how do I....?
Message
 
 
À
11/03/2003 09:56:34
N. Lea
Nic Cross Enterprises
Valencia, Californie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00764210
Message ID:
00764221
Vues:
18
>In regards to multiple filters...I have a table that can be added to (it only contains one field), and it needs to be used as the source for filtering. This table contains account numbers.
>
>How can I manipulate Foxpro into using the conditions of that table? For example...manually I code as:
>
>set filter to between(date, ldstart, ldend) and account <> 100 ;
>and account <> 150 and account <> 500 and account <> 100600
>
>You get the picture. Any suggestions on how i can get around this? Thanks!

Assuming that you've index on AccountNumber in your AccountList table,
SET ORDER TO AccountNumber IN AccountList
SELECT mytable
SET RELATION TO AccountNumber INTO AccountList
SET FILTER TO FOUND("AccountList")
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform