Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cannot use myfunc() in SET FILTER TO?
Message
De
17/10/1998 15:33:50
 
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Divers
Thread ID:
00147370
Message ID:
00147814
Vues:
32
>
>In FPW, you can build a filtered index that contains a UDF. If the nature of the filter condition requires that a UDF be used, this is one alternative. Another might be using a query to retrieve the record set. Of course, under VFP, I would hestitate to use either.

It's sloppy but the UDF could return a character string to complete the SET FILTER TO; ie:

cFilter=MyFunc()
SET FILTER TO &cFilter

But my response would match yours --- yuck.
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform