Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Variables from call addressed by reference not valued
Message
De
20/04/2006 15:24:14
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Titre:
Variables from call addressed by reference not valued
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Database:
Oracle
Divers
Thread ID:
01115112
Message ID:
01115112
Vues:
53
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)
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform