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 15:24:14
Bob Macdonald
Anthony Macaulay Associates
Victoria, British Columbia, Canada
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Client/server
Title:
Variables from call addressed by reference not valued
Environment versions
Visual FoxPro:
VFP 9 SP1
Database:
Oracle
Miscellaneous
Thread ID:
01115112
Message ID:
01115112
Views:
54
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)
Next
Reply
Map
View

Click here to load this message in the networking platform