Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQLEXEC command
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00515140
Message ID:
00515252
Vues:
11
>I found the part the causes problem: if I use a variable instead of a value in the where cause it won't work. For example:
>
>CLIENT = 'test'
>TEMP = "Select clClientID from CLIENTTYPE where clClientID = CLIENT"
>?SQLEXEC(gnquoteConn,TEMP,"Qt_num")
>It will return -1.

do this instead:
>CLIENT = 'test'
>TEMP = "Select clClientID from CLIENTTYPE where clClientID ?= CLIENT"
>?SQLEXEC(gnquoteConn,TEMP,"Qt_num")
ramil
~~ learning to stand still
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform