>>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