Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cannot use myfunc() in SET FILTER TO?
Message
De
17/10/1998 23:54:46
Man Wai Chang
Hang Hing Metal Manufacturer
Hung Hom, Hong Kong
 
 
À
17/10/1998 15:33:50
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Divers
Thread ID:
00147370
Message ID:
00147895
Vues:
31
>cFilter=MyFunc()
>SET FILTER TO &cFilter

I think you were trying to say:

cFilter="MyFunc()"
SET FILTER TO &cFilter

That won't work. Same error: "Invalid subcript reference".
I think FP 2.6 just don't allow UDF in SET FILTER -- a
limitation that suprised me.

Without breaking up myfunc(), filtered index is
the possibly the only solution.
Regards,
Mr. Man-wai Chang
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform