Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Convert 5 digit zipcodes to zip+4

Posted on 2003-11-10
5
412 Views
Last Modified: 2006-11-17
How I can take a 5 digit zipcode and add on the +4 part? I hear it is faster to ship with the USPS when you have a properly formatted 9 digit zipcode.

Anyone hear the same thing? Thanks!

-Matt
0
Comment
Question by:mjreine
  • 2
  • 2
5 Comments
 
LVL 20

Expert Comment

by:Dufo G. Belski
ID: 9715990
Type in an address here and get the 9 digit zip:

http://www.usps.com/zip4/
0
 

Author Comment

by:mjreine
ID: 9716004
I need an ASP program or a COM component or some way to programmatically do this. Do you know how they calculate the +4 part?

Thanks,

-Matt
0
 
LVL 19

Accepted Solution

by:
Dexstar earned 500 total points
ID: 9716009
mjreine:

> How I can take a 5 digit zipcode and add on the +4 part? I hear it is faster
> to ship with the USPS when you have a properly formatted 9 digit zipcode.

> Anyone hear the same thing? Thanks!

You can't just "look up" the other 4 digits, unless you know the entire address.  If you know the entire Address, you can use this web site to look up the +4 digits:
     http://www.usps.com/zip4/welcome.htm

But that won't help you very much if you have a bunch of addressed.  Forunately, the USPS has a web service that you can hook into to do the lookups for you.  Here is a link with more information:
     http://www.usps.com/webtools/address.htm

That site will also help you correct addressing errors and things like that, so if shipping speed is really important, then that will help out too.

Hope that helps,
Dex*
0
 
LVL 19

Expert Comment

by:Dexstar
ID: 9716047
I wish there were a COM object to point you at, but there really isn't.  However, this page has enough samples to really get you going:
     http://www.usps.com/webtools/htm/Address-Information.htm

Dex*

0
 

Author Comment

by:mjreine
ID: 9716321
Awesome! Thanks Dex..

-Matt
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Finding a job can be stressful - searches, resume tweaks, and networking events can be super boring. Luckily we're here to help you land your dream job!
Gift cards are not a new concept - it's been around for a very long time.  Undoubtedly, over the past you have received such a card or purchased one for a friend or relative.  Are you aware that you've been feeding the machine?  If not, read on :)
The Bounty Board allows you to request an article or video on any technical topic, or fulfill a bounty request to earn points. Watch this video to learn how to use the Bounty Board to get the content you want, earn points, and browse submitted bount…
Articles on a wide range of technology and professional topics are available on Experts Exchange. These resources are written by members, for members, and can be written about any topic you feel passionate about. Learn how to best write an article t…

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question