Results 1 to 2 of 2

Thread: MS Access Zip Code Look Up

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Sep 2002
    Posts
    779

    Question MS Access Zip Code Look Up

    I created a form in microsoft access 2000 for data entry. I have an access table that has all US zip codes with their corresponding cities and states. What I want to do is when the zip code is entered I want search the table of zip codes and then fill in the city and state automatically. Can someone please show me some code to do this? Thanks.

  2. #2
    Frenzied Member
    Join Date
    Feb 2003
    Location
    Argentina
    Posts
    1,950
    "SELECT city, state FROM ZipTable WHERE zip = '" & txtZip & "'"

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width