Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cannot use myfunc() in SET FILTER TO?
Message
From
17/10/1998 23:54:46
Man Wai Chang
Hang Hing Metal Manufacturer
Hung Hom, Hong Kong
 
 
To
17/10/1998 15:33:50
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00147370
Message ID:
00147895
Views:
30
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform