My Assistant
![]() ![]() |
|
|
Mar 7 2010, 08:43 PM
Post
#1
|
|
|
New Member Posts: 13 |
Hey. New to access 2007 and slowly learning my way around. Is there a function to provide a state lookup table when entering addresses or do I need to create my own? Or better yet, type in the Zip code and have the system provide the state? Thanks! Mark
|
|
|
|
Mar 8 2010, 12:34 AM
Post
#2
|
|
|
UA Admin Posts: 19,247 From: Newcastle, WA |
If you want a state lookup table, you'll need to create it, or import it from somewhere. For a zip code lookup table, the same is true. The values have to come from somewhere, after all.
Keep in mind that in the US there are well over 40,000 zip codes, the last time I looked. Do you need all of them? You might be able to buy what you need. I can't vouch for that site as I've never dealt with them. I'm sure a quick Bing or Google will turn up many similar sites, and of course, you can go directly to the USPS for an official version. Once you have the data, writing a function to retrieve a state is not difficult. George |
|
|
|
Mar 8 2010, 10:10 AM
Post
#3
|
|
|
UtterAccess Ruler Posts: 1,105 From: Sacramento, CA USA |
If you want a state lookup table, you'll need to create it, or import it from somewhere. For a zip code lookup table, the same is true. The values have to come from somewhere, after all. Keep in mind that in the US there are well over 40,000 zip codes, the last time I looked. Do you need all of them? You might be able to buy what you need. I can't vouch for that site as I've never dealt with them. I'm sure a quick Bing or Google will turn up many similar sites, and of course, you can go directly to the USPS for an official version. Once you have the data, writing a function to retrieve a state is not difficult. George Here is a list of all the states I pulled the list from the post office and created a table. Michael
Attached File(s)
|
|
|
|
![]() ![]() |
|
Go to Top · Lo-Fi Version | Time is now: 24th May 2013 - 03:17 AM |