I am needing to build a field using the data from four other fields using an Access Query.
From the above code you can see the problem if any field, specificly the outer two fields are empty I wind up with a space in from of and/or behind my created data if some data fields are null.
Any ideas on how I can set an IIf condition or simply trim out the spaces on either end without making a second pass over the data?
Code:
strFullStName: [PREDIRECT]&" "&[STREETNAME]&" "&[STREETTYPE]&" "&[POSTDIRECT]
From the above code you can see the problem if any field, specificly the outer two fields are empty I wind up with a space in from of and/or behind my created data if some data fields are null.
Any ideas on how I can set an IIf condition or simply trim out the spaces on either end without making a second pass over the data?