Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Paththrough syntax
Message
De
03/10/2002 23:14:53
 
 
À
03/10/2002 20:56:01
John Ryan
Captain-Cooker Appreciation Society
Taumata Whakatangi ..., Nouvelle Zélande
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00707619
Message ID:
00707650
Vues:
20
>Nir
>
>I assume vClients.client_id is also C(3)
>
>Might be worth trying
>
>
myclient=vClients.client_id
>myTable = 'clients'
>myWhere = 'client_id=?myclient'
>myResult = sqlExec(myCinn,[select * from]+myTable+[ where ]+mywhere,'myCursor')
>
>Regards
>
>JR

The content of myclient (which is equal to the content of vClients.client_id) is an ID value, not a variable name that SQL Server knows about, so try:
myWhere = [client_id =] + ['] + myclients + [']

Alex
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform