Solved

Convert 5 digit zipcodes to zip+4

Posted on 2003-11-10
5
422 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
[X]
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
  • 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: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

Suggested Solutions

Title # Comments Views Activity
How do i download the video in the below url 3 62
Toshiba e456 color copier driver download 3 82
Way to transfer 29 65
Make Facebook profile public 1 6
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.
Notifications on Experts Exchange help you keep track of your activity and updates in one place. Watch this video to learn how to use them on the site to quickly access the content that matters to you.
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.

752 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