Results 1 to 3 of 3
  1. #1
    KristenL is offline Novice
    Windows XP Access 2007
    Join Date
    Sep 2013
    Posts
    1

    Adding a 0

    Hello-



    I have a list of zip codes that are missing the beginning 0 is there away to quickly add the missing 0 to the list? I use equals ???? to pull all zip codes up that are only 4 digits long.

  2. #2
    JoeM is offline VIP
    Windows XP Access 2007
    Join Date
    Jun 2012
    Posts
    3,904
    If your field is not of the String/Text data type, but rather a numeric data type, the zero will always be dropped.
    However, you can convert it to Text for calculations or display purposes like this:
    FORMAT([ZipCode],"00000")
    where "ZipCode" is the name of your Zip Code field

  3. #3
    JoeM is offline VIP
    Windows XP Access 2007
    Join Date
    Jun 2012
    Posts
    3,904
    How was this post not helpful to you? Are you not sure how to implement it?

    Can you explain your situation a little bit more? What is the data type of your zip code field? How is it being populated with data?

    What exactly is your end goal here, are you producing a report, a data extract, etc?

    If you provide more details, we can tailor a response to suit your needs.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 1
    Last Post: 08-06-2013, 07:52 PM
  2. Replies: 3
    Last Post: 12-19-2011, 11:18 AM
  3. Adding Time
    By jlclark4 in forum Queries
    Replies: 7
    Last Post: 05-04-2011, 10:35 AM
  4. Adding pdf to a field
    By Hannu in forum Access
    Replies: 3
    Last Post: 05-27-2009, 07:08 AM
  5. Adding Two Columns
    By arthura in forum Queries
    Replies: 6
    Last Post: 05-01-2009, 08:38 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums