I am in query design. I am trying to put a query together and I am getting this syntax error. The error points to this field:
adjNum2: Replace([adjNum],Chr(160),"")
What is wrong with this?
I am in query design. I am trying to put a query together and I am getting this syntax error. The error points to this field:
adjNum2: Replace([adjNum],Chr(160),"")
What is wrong with this?
What is code 160 for - a space? Try:
adjNum2: Replace([adjNum], " ", "")
How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.
I don't know why it errors. I just tested the Replace with Chr(160) and did not error. I copy/pasted text from a web page but I don't know if it had that non-printing character so can't tell if anything was replaced.
How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.