Dear Access experts,
I have a query where I want to distinguish between cases happened in my city versus others. There are multiple ways one can misspell that, so I am using wildcard search for this:
This works fine for all but one entry that returns me PORTS, which is the original name from [dbo_nmmain].[city]. The only way I was able to get the code convert this particular entry to Portsmouth is by deleting the asterisk in my formula.
I always thought that asterisk is any number of characters from nothing to infinity. Why does not it work in this case?
Thanks a lot in advance.
I have a query where I want to distinguish between cases happened in my city versus others. There are multiple ways one can misspell that, so I am using wildcard search for this:
Code:
IIf(Trim([dbo_nmmain].[city])="PORTS*","Portsmouth",[dbo_nmmain].[city])
I always thought that asterisk is any number of characters from nothing to infinity. Why does not it work in this case?
Thanks a lot in advance.