>FunctionX > >Parameter pArray > Try adding <b>EXTERNAL ARRAY pArray</b> >For nCnt=1 to aLen(pArray,1) > Seek(pArray[nCnt,1],"ATABLE") >EndFOr > >Return >>
>FX="FunctionX(@myarray)"
>&FX
>
>This causes an error:>FX="FunctionX(@myarray)" >Select * From SomeTable Where &FX to cursor SomeCursor >>The error come from the UDF saying that pArray.prg is not found.