Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL Passthrough
Message
From
18/06/2004 12:46:40
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00915130
Message ID:
00915137
Views:
10

lcSQLStatement='INSERT INTO tasklist (department,detail) ' + ;
'VALUES (CHR(34) + thisform.txtDept.Value + CHR(34)+ ',' + CHR(34) + thisform.edtDetail.value + CHR(34) + ')' && Detail is a memo field.


SPT command not support CHR(0),CHR(13),... characters.
You have to use the VFP parameter expressions.
lcSQLStatement="INSERT INTO tasklist (department,detail);
VALUES(?thisform.txtDept.Value,?thisform.edtDetail.value)"
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform