Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQLEXEC not working with variable as parameter
Message
De
24/11/2000 19:25:37
 
 
À
24/11/2000 19:11:48
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00445283
Message ID:
00445298
Vues:
25
But I guess this still doesn't address the issue of why the explicit phrase works, but the lcSQL variable does not:

lcSQL = 'Select * from Person'

=SQLEXEC(lnConnectHandle, "Select * from Person", "tCursor") works

=SQLEXEC(lnConnectHandle, lcSQL, "tCursor") doesn't. Neither does &lcSQL, '&lcSQL', (lcSQL), or Eval(lcSQL)...
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform