|
-
Oct 3rd, 2000, 01:10 PM
#1
Thread Starter
Lively Member
I know this has been asked before and I forget how to do it.
I need to know how to do a Select Statement with a ' in it.
Example:
"SELECT * FROM [CLIENTS] WHERE [NAME] = '" & name & "'"
and here name would equal Joe O'Brien.
Any help would be appreciated.
Thanks In advance
-
Oct 3rd, 2000, 03:23 PM
#2
Fanatic Member
The answer is to place a second ' within the name string. Therefore O'Brien is changed to O''Brien.
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
|