Insert a Dash into a Zip Code

D

David

How would you write a query to insert a dash after the 5th
digit into a 9 digit zip code? ie xxxxxxxxx to xxxxx-xxxx?
This needs to be done at the table level, not the report
level.
 
C

Cheryl Fischer

Create an Update Query using the Query Designer. In the Update To: row,
insert the expression provided to you by Cameo in your earlier thread:

Format([ZipCode],"00000-0000")
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top