Format zip codes

eacollie

Registered User.
Local time
Today, 11:19
Joined
May 14, 2011
Messages
159
I have a report bound to a query that includes zip codes as a field. Zip codes are formatted in the table as 99999-9999 and display in this format when the query is run. However, when I place that field in the report text box as

=[ContactCity] & ", " & [StateAbbreviation] & " " & [ContactZip]

or even as [ContactZip]

The zip is not formatted.

I'm sure it's something simple I'm doing incorrectly but can't seem to find it.

Thanks much
 
You could use Format again?
Code:
=[ContactCity] & ", " & [StateAbbreviation] & " " & Format([ContactZip], "#####-####")
 

Users who are viewing this thread

Back
Top Bottom