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 17:13:27
 
 
À
20/04/2006 15:24:14
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Database:
Oracle
Divers
Thread ID:
01115112
Message ID:
01115154
Vues:
8
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform