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

Click here to load this message in the networking platform