Zip Code Lookup Question

D

Dave Elliott

I have (2) tables in my db, one is named ZipCode and it has ZipID as
autonumber; Zip Codes as Text; City as Text
This table contains all the zipcodes for the cities in the us.
The other is named States and it has only StateID as a text field,it has all
states in it already.
What I need is a way to link these tables somehow so I can use the state
along with the city and zip code for my lookup on my customers form.
Right now I can use the zip code to lookup the and fill in the city, but no
the state.
What fields can I add to make these (2) tables work together?
 
M

Mike Painter

Dave said:
I have (2) tables in my db, one is named ZipCode and it has ZipID as
autonumber; Zip Codes as Text; City as Text
This table contains all the zipcodes for the cities in the us.
The other is named States and it has only StateID as a text field,it
has all states in it already.
What I need is a way to link these tables somehow so I can use the
state along with the city and zip code for my lookup on my customers
form.
Right now I can use the zip code to lookup the and fill in the city,
but no the state.
What fields can I add to make these (2) tables work together?

Add the state names to the ZIP table. I've never seen a table without city
and state.

I have a table at http://www.mikepainter.com/ZIP_Codes/zip_codes.php with
some 45k worth that can be downloaded.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Need VLOOKUP to Work Two Ways 0
Zip Code Lookup? 1
Form help 4
dependent combo boxes 1
Combo Box Lookup ??? 1
zipcode lookup table-Access 2007 4
Find misspelled city, invalid state/zipcode 1
Zip Code Dreams 8

Top