There's no need for an IIF function...just use the Trim function. It will remove any leading (or trailing) spaces, if there are any. If there are no extra spaces, it won't change the value at all.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.