>Hello all:
>
>We are using an OCX that places the values in the parameters instead of the results. For example:
>
>parm1 = .f.
>parm2= 0
>res=thisform.object.method(parm1,parm2)
>
>RESULTS will be:
>res will be .T. or .F.
>parm1=.f.
>parm2=new value
>
>Apparently the method changes the value of parm2 and its supposed to return it on the same variable but its not working. I tried to pass the value with (@) by reference without any luck, I tried using a public variable it doesn't work. As I research this in VB it works. I know there should be a way on VFP, can someone point me there?
>
>
>TIA;
>
>Carlos
Pass by reference
res=thisform.object.method(@parm1,@parm2)
Cetin