J
JonOfAllTrades
Good morning, all.
I have a procedure that searches for an Outlook contact's company name
in Access with "SELECT ... WHERE Name = " & OLContact.CompanyName. However,
a handful of company names in Outlook have non-breaking spaces. Access does
not consider a NBS to be equal to a normal space when doing a text
comparison, so it does not find a matching record.
Can I use Replace() on OLContact.CompanyName? If so, how do I specify
a special character to replace? If I use the ASCII code, Access searches for
the string "160," not the character #160/0xA0. Is there a looser text
comparison mode available?
Personally, I like the MySQL part of the DB; it's not even
case-senstitive when doing text comparisons, unless you want it to be.
Thank you!
Win XP/Access 2K
I have a procedure that searches for an Outlook contact's company name
in Access with "SELECT ... WHERE Name = " & OLContact.CompanyName. However,
a handful of company names in Outlook have non-breaking spaces. Access does
not consider a NBS to be equal to a normal space when doing a text
comparison, so it does not find a matching record.
Can I use Replace() on OLContact.CompanyName? If so, how do I specify
a special character to replace? If I use the ASCII code, Access searches for
the string "160," not the character #160/0xA0. Is there a looser text
comparison mode available?
Personally, I like the MySQL part of the DB; it's not even
case-senstitive when doing text comparisons, unless you want it to be.
Thank you!
Win XP/Access 2K