|
-
Dec 7th, 2001, 12:06 PM
#1
Thread Starter
Hyperactive Member
SQL Question
in sql if you are inserting a value in to a text field, when there is a ' in the text string i get an error... is there any way to allow ' in a text string when you are using SQL?
-
Dec 7th, 2001, 12:10 PM
#2
I think if you replace it with 2 '' (not a quote) it will work.
Laugh, and the world laughs with you. Cry, and you just water down your vodka.
Take credit, not responsibility
-
Dec 7th, 2001, 12:28 PM
#3
Thread Starter
Hyperactive Member
ok thanks... is there a function that i can use to look in my fields and repalce ' with '' ? i seem to remember that there is somthing in vb do this...
-
Dec 7th, 2001, 12:31 PM
#4
for each of your fields, use the Replace() function before putting them into the DB.
Laugh, and the world laughs with you. Cry, and you just water down your vodka.
Take credit, not responsibility
-
Dec 7th, 2001, 12:33 PM
#5
Thread Starter
Hyperactive Member
Thanks For the Help!!!!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|