Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MSDE, SQL Pass thru
Message
 
 
À
10/05/2000 11:45:55
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00368170
Message ID:
00368174
Vues:
22
Try:
? SQLEXEC(lnHandle,"INSERT INTO MyTable (Field1) VALUES (" + transform(lnVar)+")")


>? SQLEXEC(lnHandle,"INSERT INTO MyTable (Field1) VALUES (10)") works fine, but
>
>lnVar=10
>? SQLEXEC(lnHandle,"INSERT INTO MyTable (Field1) VALUES (lnVar)")
>
>does not.
>
>I guess it´s because the server does not know that lnVar=10?
>
>VFP documentation is rather sketchy, or non existing, on this issue.
>
>Does anybody know the solution.
>
>Regards
>
>Peter
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform