Solved

Convert 5 digit zipcodes to zip+4

Posted on 2003-11-10
5
394 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Inequality 4 58
Cylinder Head Right or Left 11 59
Charge laptop battery without a laptop 8 89
Free runner service software 2 52
CSS is a visual language used to classify objects and define rules about how they should be displayed. CSS skills aren’t restricted to developers anymore, there is a big benefit to having a basic understanding of the language, regardless of your occ…
I've been asked to discuss some of the UX activities that I'm using with my team. Here I will share some details about how we approach UX projects.
Saved searches can save you time by quickly referencing commonly searched terms on any topic. Whether you are looking for questions you can answer or hoping to learn about a specific issue, a saved search can help you get the most out of your time o…
Where to go on the main page to find the job listings. How to apply to a job that you are interested in from the list that is featured on our Careers page.

759 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now