Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL Passthrough and string delimiters
Message
General information
Forum:
Visual FoxPro
Category:
Client/server
Title:
SQL Passthrough and string delimiters
Miscellaneous
Thread ID:
00054934
Message ID:
00054934
Views:
66
How is everybody dealing with SQL Passthrough when passing large areas of text
(memos) typically back to the server? In particular, I see problems with
embedded string delimiters (') and potentially CHR(0)'s and other control
characters when sending back binary data.

If I were to send a string like this: "It's a nice day"

and then use: "INSERT SomeTable(SomeMemo) VALUES('"+lcText+"')"

where lcText contains the string above it'll blow up on account of the
embedded quote.

What am I missing?

+++ Rick ---
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Next
Reply
Map
View

Click here to load this message in the networking platform