T
Tony
Win XP Pro - access 2002 - vs 2002 - vb
Can someone tell me why this doesn't work?
Dim MyString as string
MyString = "Winner's"
Mystring.replace("'", " ")
I'm trying to remove any single quotes from my data, so I don't get Sql
query errors.
It doesn't really matter what values I look for, the replace seems to do
nothing .
I also tried Dim MyString as Stringbuilder and system.stringbuilder but I
just get errors Stringbuilder.
I did see this in the help, Dim MyString as Stringbuilder , but I'm unable
to replicate it?
Tony
Can someone tell me why this doesn't work?
Dim MyString as string
MyString = "Winner's"
Mystring.replace("'", " ")
I'm trying to remove any single quotes from my data, so I don't get Sql
query errors.
It doesn't really matter what values I look for, the replace seems to do
nothing .
I also tried Dim MyString as Stringbuilder and system.stringbuilder but I
just get errors Stringbuilder.
I did see this in the help, Dim MyString as Stringbuilder , but I'm unable
to replicate it?
Tony
