|
-
Aug 13th, 2001, 07:19 PM
#1
Thread Starter
Lively Member
Using ' for saving
When my address text field has an ' in it, when saving it, it gives me an error.
How do i avoid this problem
-
Aug 13th, 2001, 07:22 PM
#2
Are we talking files or DB's?
Laugh, and the world laughs with you. Cry, and you just water down your vodka.
Take credit, not responsibility
-
Aug 13th, 2001, 07:26 PM
#3
Thread Starter
Lively Member
This is about the DBs. When Im inserting or updating with a text with the ', i get some error
-
Aug 13th, 2001, 07:31 PM
#4
Do a replace before using the insert/update
VB Code:
.Update ...
.Fields!Test = Replace(Text1.Text, "'", "''")
Laugh, and the world laughs with you. Cry, and you just water down your vodka.
Take credit, not responsibility
-
Aug 13th, 2001, 07:38 PM
#5
Thread Starter
Lively Member
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
|