Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Variables from call addressed by reference not valued
Message
From
20/04/2006 17:13:27
 
 
To
20/04/2006 15:24:14
Bob Macdonald
Anthony Macaulay Associates
Victoria, British Columbia, Canada
General information
Forum:
Visual FoxPro
Category:
Client/server
Environment versions
Visual FoxPro:
VFP 9 SP1
Database:
Oracle
Miscellaneous
Thread ID:
01115112
Message ID:
01115154
Views:
9
>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.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform