Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQLExec and variable
Message
From
02/04/2003 02:38:15
 
 
To
02/04/2003 02:37:00
Liam O'Hagan
O'Hagan Programming Ltd
Ireland
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00772836
Message ID:
00772847
Views:
5
>Prefix the variable in the SQL statement with a question mark.
>
>
lcCustomerID = "CUST01"
>lnResult=SQLExec(lnHandle,'SELECT * FROM MyTable WHERE CustomerID=?lcCustomerID')
Thanks, 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