Can anyone tell me why I get the following message:
Data type mismatch in cretiria expression.
The query open for about 10 seconds and then I get the above message. I can't copy the query or export it.
Here is the code behind it:
SELECT DISTINCT Mid([Street],1+InStrRev([Street],' ')) AS FalseStreet, *
FROM dbo_PROV_ADDINFO_HCVW
WHERE (((Mid([Street],1+InStrRev([Street],' '))) In (SELECT Abbrev FROM AddrAbbrev)));
Data type mismatch in cretiria expression.
The query open for about 10 seconds and then I get the above message. I can't copy the query or export it.
Here is the code behind it:
SELECT DISTINCT Mid([Street],1+InStrRev([Street],' ')) AS FalseStreet, *
FROM dbo_PROV_ADDINFO_HCVW
WHERE (((Mid([Street],1+InStrRev([Street],' '))) In (SELECT Abbrev FROM AddrAbbrev)));