Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQLExec and variable
Message
From
02/04/2003 02:44:48
 
 
To
02/04/2003 02:41:42
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00772836
Message ID:
00772849
Views:
6
>Are you trying to use VFP variable as parameter for SQLEXEC?
>Then correct syntax is:
>
>
>lnResult=SQLExec(lnHandle,'SELECT * FROM MyTable WHERE CustomerID = ?lcCustomerID')
>
>
>Just add question mark before variable name.

As already answered, yes, this is exactly what I was looking for.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Reply
Map
View

Click here to load this message in the networking platform