I have two tables I pull together to make labels in a query. In the query i made an expression to put the city, state and zip together in one field.
exp1=Rtrim(city)&" "&Rtrim(state)&" "&Rtrim(zip)
The zip code is formatted in the table it resides in 00000\-9999;;_
The problem is when the labels print some of the zip codes are not in a format such as: 999999999 when it should be 99999-9999
I have over 600 lables in this query but only about 50 of them is effected. I have tried to track it down and I end up at the expression. When I pull the query up it shows that same error in the view of the query.
Can anyone help me with what is going on in this expression? Could it be a fluke? I check the orginal table and it seems fine. The zip is fine by itself in the query but when put in the expression it loses it's format but only on about 50 records. Not all are effected. I would appreciate any help. Thanks.
exp1=Rtrim(city)&" "&Rtrim(state)&" "&Rtrim(zip)
The zip code is formatted in the table it resides in 00000\-9999;;_
The problem is when the labels print some of the zip codes are not in a format such as: 999999999 when it should be 99999-9999
I have over 600 lables in this query but only about 50 of them is effected. I have tried to track it down and I end up at the expression. When I pull the query up it shows that same error in the view of the query.
Can anyone help me with what is going on in this expression? Could it be a fluke? I check the orginal table and it seems fine. The zip is fine by itself in the query but when put in the expression it loses it's format but only on about 50 records. Not all are effected. I would appreciate any help. Thanks.