I created a query the other day, using the trim function in the expression. It worked like a charm. As I try to run the query today, I get an error stating that the “function is not available in expressions in the query expression.” The expression is:
Address3: IIf([city]=” “,””,(Trim([City]) & “, ” & [STATE] & ” ” & Trim([ZIP])))
I have determined that it is the Trim function that is giving me fits. If I remove both trim functions, the expression works, but there are trailing spaces. This query ran fine last Friday when I created it. Anyone have any ideas???