S
Suzette
Okay, so I have a problem I'm stumped on. I have to lookup information in a
table. Normally I use the
strCriteria = "FIELD = '" & info & "'"
Found out it won't work with an apostrophe.
Cool, changed it to
strCriteria = "FIELD = " & chr(34) & info & CHR(34)
Way cool. Apostrophe problem solved.
Great, now it gets stuck on a comma. Discovered I can do an if then to do
the second statement if there is an apostrophe and the first if there isn't.
NOW I have a record with an apostrophe AND a comma. What do I do now?
Thanks
Suzette
table. Normally I use the
strCriteria = "FIELD = '" & info & "'"
Found out it won't work with an apostrophe.
Cool, changed it to
strCriteria = "FIELD = " & chr(34) & info & CHR(34)
Way cool. Apostrophe problem solved.
Great, now it gets stuck on a comma. Discovered I can do an if then to do
the second statement if there is an apostrophe and the first if there isn't.
NOW I have a record with an apostrophe AND a comma. What do I do now?
Thanks
Suzette