Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Paththrough syntax
Message
From
03/10/2002 23:14:53
 
 
To
03/10/2002 20:56:01
John Ryan
Captain-Cooker Appreciation Society
Taumata Whakatangi ..., New Zealand
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00707619
Message ID:
00707650
Views:
19
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform