Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Kind of like an incremental search?
Message
De
15/01/1999 16:29:18
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00176662
Message ID:
00176720
Vues:
30
>Then later I do the following:
>SELECT mytable
>SET FILTER TO &pcCondition
>SCAN FOR &pcCondition
>...
>...
>...
>ENDSCAN


Steve,

Since you asked for help, I'm gonna give it. The code sample above is bad for 2 reasons. First, why perform 2 operations using pcCondition. Set a filter on a table and then browse it. Only records matching your filter will be shown. The same view of the table you just saw in the browse will be the view the Scan loop uses. Second, in general I avoid "Set Filter" as it has given me much problems in the past. "Scan for ...." is the prefered way to process only selected records.

PF

(On an infant's shirt): Already smarter than Bush
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform