>The following code works in VFP5 and VFP8
>
> nresult=sqlexec(ogx.odbm.connectionhandle,;
>"{CALL
>csauth.logon('&cuser.','&cpasswrd.','"+cosuser+"',NULL,'"+chost+"','GX.EXE
>- LOGIN',?@v_newpass,?@v_msg_cd,?@v_msg_lg1,?@v_msg_lg2)}")
>
>
>but fails in VFP9
>
>
>Is there any change in passing by reference for VFP-ODBC in VFP9 or is
>this a bug
>
>
>observed: in vfp5-8 values are returned to the variables preceded with
>?@
>in vfp9 no values are returned
>expected: no change in behaviour
>
>
>thanks
>
>
>Bob (bobmacdonald AT gx.ca)
You must have something else different in the code. "?@" works just fine for me in VFP6-9.