I have tried:
MyCo = Replace(MyCo, "#", "##")
MyCo = Replace(MyCo, "#", "\#")
I am at the point of dropping the # using MyCo = Rtrim(MyCo, "#") to get a
result but don't think it is the proper thing to do because it will pick up
more than they requested..... but that is better than saying "No Records
Found"
Sorry if this is a duplicate on the board, I have searched the internet and
this forum and have not found any information (I keep getting "no records
match that search" even when I spell out pound).
Thanks in advance :)
--
NTC
Well, of course the text strings "#" and "pound" will not match.
The problem is that # is a wildcard matching any numeric digit. To find a text
string containing an octothorpe (£ is a pound sign <g>), use
Replace(MyCo, "#", "[#]")
to construct the criterion.
If that doesn't help, please post the SQL view of your query.
--
John W. Vinson [MVP]
The brackets did do the trick.
Thanks much.