Okay, I took you'll suggestions and concatenate using a query, but I am still getting empty spaces and blanks. I have been working on it all day and can't find what I am doing wrong. I have the attached the db with the query (qryFullAddress) in hopes someone can see what I missed. Any help is surely appreciated.
I found the numeric was causing a problem so I use the IIF to generate a variant. Presumably when seeing a number, the + operator tries to add not concatenate. This approach sorts out your extra spaces.
I also put brackets around all the Chr(13) & chr(10). If you consider [BoxNumber]+Chr(13) & Chr(10), then when box number is null, then the result will be only chr(10) since the operation [BoxNumber]+Chr(13) will be performed first - hence your extra line breaks.
As Bob Larson mentioned in another of your threads, you have kind of gone overboard with the normalisation. I too would put company name in the mane table and I'd take pretty much the same approach for all the other tables. It doesn't matter that you have blanks for no company name. This can always be managed in a query.
I found the numeric was causing a problem so I use the IIF to generate a variant. Presumably when seeing a number, the + operator tries to add not concatenate. This approach sorts out your extra spaces.
I also put brackets around all the Chr(13) & chr(10). If you consider [BoxNumber]+Chr(13) & Chr(10), then when box number is null, then the result will be only chr(10) since the operation [BoxNumber]+Chr(13) will be performed first - hence your extra line breaks.
As Bob Larson mentioned in another of your threads, you have kind of gone overboard with the normalisation. I too would put company name in the mane table and I'd take pretty much the same approach for all the other tables. It doesn't matter that you have blanks for no company name. This can always be managed in a query.
I don't understand the CompanyName part b/c when I asked this question a couple of months ago I was told to put CompanyName in another table. There are about 400 blind ads w/o a CompanyName. I use (N/A) when there is no CompanyName.
I found the numeric was causing a problem so I use the IIF to generate a variant. Presumably when seeing a number, the + operator tries to add not concatenate. This approach sorts out your extra spaces.
I also put brackets around all the Chr(13) & chr(10). If you consider [BoxNumber]+Chr(13) & Chr(10), then when box number is null, then the result will be only chr(10) since the operation [BoxNumber]+Chr(13) will be performed first - hence your extra line breaks.
As Bob Larson mentioned in another of your threads, you have kind of gone overboard with the normalisation. I too would put company name in the mane table and I'd take pretty much the same approach for all the other tables. It doesn't matter that you have blanks for no company name. This can always be managed in a query.