Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL Passthrough
Message
De
24/01/2003 09:38:54
Steven Dyke
Safran Seats USA
Texas, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
SQL Passthrough
Divers
Thread ID:
00745051
Message ID:
00745051
Vues:
61
I need to use a variable for SQLSTRINGCONNECT() I can't seem to make a variable work.

Working Code:
lcConnection = 'DRIVER=Client Access ODBC Driver (32-bit);SYSTEM=GVAS400;DefaultLibraries=webprddt6;'+;
'TRANSLATE=1;UID=DRAW;PWD=WEBER;SIGNON=2;SSL=3'

gnHandle1 = SQLSTRINGCONNECT(&lcConnection)

= SQLDISCONNECT(gnHandle1)

None Working Code:
Select actpth From pathtbl Where compid == 'PC341sde' And pthname == 'ClientAccess' InTo Cursor myodbcx
lcConnection = myodbcx.actpth

gnHandle1 = SQLSTRINGCONNECT(&lcConnection)

= SQLDISCONNECT(gnHandle1)
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform