Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MSDE, SQL Pass thru
Message
From
10/05/2000 23:06:58
George Simon
GS Data Technologies, LLC
Cincinnati, Ohio, United States
 
 
To
10/05/2000 11:45:55
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00368170
Message ID:
00368400
Views:
15
Peter,

Try this:

lnVar=10
? SQLEXEC(lnHandle,[INSERT INTO MyTable (Field1) VALUES (?lnVar)])



>? SQLEXEC(lnHandle,"INSERT INTO MyTable (Field1) VALUES (10)") works fine, but

>lnVar=10
>? SQLEXEC(lnHandle,"INSERT INTO MyTable (Field1) VALUES (lnVar)")
George Simon, MCP
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform