Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cannot use myfunc() in SET FILTER TO?
Message
De
16/10/1998 20:25:28
Man Wai Chang
Hang Hing Metal Manufacturer
Hung Hom, Hong Kong
 
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Divers
Thread ID:
00147370
Message ID:
00147733
Vues:
24
>>When I execute this program,
>>
>>use data\payslphd
>>set filter to myfunc()
>>I got an error "Invalid Subcript Reference".
>FPW "thinks" that you're referring to an array.

Not if I used built-in functions, like empty().

>You'll get the same message even passing fields to the function.
>VFP (6.0 at least) allows you to use a function in a SET FILTER TO.

I tried the same program on VFP 3.0. It worked!
Just then I don't want to believe in it: user-defined
functions are not allowed in older version of FoxPro.

Just doesn't make sense... giving a bit of trouble.
Regards,
Mr. Man-wai Chang
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform