Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Data Types
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
00465691
Message ID:
00465781
Views:
13
Larry you are right,

this is what I am doing.
SQLInsertStr = "Insert Into EmailHistory (UniqueID, Date, MailFrom, MailTo, Subject, Body, EmailType) VALUES (" + Cstr(nextUniqueID) + ",'" + Cstr(Now()) + "','" + FromValue + "','" + ToValue + "','" + SubValue + "','" + BodyValue + "','" + EmailTypeValue + "')"

objConnection.execute SQLInsertStr

The bodyValue is the part that contain " and '
How could I build the string for this situation?

Thanks a lot.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform