S
Southern at Heart
The below code removes any odd chrs from my data. What is STRANGE though is
that it also removes any instance of the letters 'th'
I'd type them in one of my note records again as TH, Th, th
and they'd all get removed.
If I remove the below lines of code, this doesn't happen, but why DOES it
happen, and how can I fix it?
For ichr = 128 To 255
strSQL = "UPDATE tblContacts SET tblContacts.Notes =
Replace([Notes],Chr(" & ichr & "),"""");"
Debug.Print ichr
DoCmd.RunSQL (strSQL)
Next ichr
that it also removes any instance of the letters 'th'
I'd type them in one of my note records again as TH, Th, th
and they'd all get removed.
If I remove the below lines of code, this doesn't happen, but why DOES it
happen, and how can I fix it?
For ichr = 128 To 255
strSQL = "UPDATE tblContacts SET tblContacts.Notes =
Replace([Notes],Chr(" & ichr & "),"""");"
Debug.Print ichr
DoCmd.RunSQL (strSQL)
Next ichr