+ Reply to Thread
Results 1 to 3 of 3

Thread: MS Access Zip Codes

  1. #1
    Barn Enthusiast sbenj69 is a jewel in the rough sbenj69 is a jewel in the rough sbenj69 is a jewel in the rough sbenj69 is a jewel in the rough sbenj69's Avatar
    Join Date
    Mar 2008
    Location
    The frigid northern plains
    Posts
    432
    Rep Power
    7

    MS Access Zip Codes

    The database I am including is a very useful database. It contains the zip codes for the 50 states, DC, and Puerto Rico.

    For fun, I added two forms, one of which has a subform. Basically, the forms allow you to search either by zip, where you enter the zip and click on search, or by city/state search, where you choose the state in a combo box, and then the city in a combo box. Then every zip for that city and state is listed in a subform.

    The first form is called "ZipSearch", and the second form is called "CityState"

    Now, if you ever need it, you will have all of the cities and zips at your disposal.

    The table (only table) consists of three fields, Zip, City, and StateCode.

    Enjoy, and may this bring ease to future database developments.

    Without further adieu, here is the database:
    Attached Files
    Last edited by sbenj69; December 12th, 2008 at 10:49 AM.
    Join our Folding team: DeveloperBarn Folding
    -----------------------------------
    Folding Stats - Stanford University
    Folding Stats - Extreme Over-Clocking
    Folding Stats - Kakao Stats
    Folding Stats - Xtreme CPU

    -----------------------------------

  2. #2
    Super Sarcasm Mistress mehere is a glorious beacon of light mehere is a glorious beacon of light mehere is a glorious beacon of light mehere is a glorious beacon of light mehere is a glorious beacon of light mehere's Avatar
    Join Date
    Mar 2008
    Location
    Wide Awake In Dreamland
    Posts
    830
    Rep Power
    8

    how can you use the zip as the primary key. i know for a fact that there are 4 cities in PA all with the same zip.
    Quote of the Month:
    INSIGHT: When the going gets tough, the tough get going. The smart left a long time ago.

    Questions to Ponder:
    Are people more violently opposed to fur rather than leather because it's much easier to harass rich women than motorcycle gangs?

    iif([sarcasm]=true,iif([you have to ask]=true,"didn't work","ha ha ha"),"not sarcasm")
    copyright © 2008 sbenj69

    Sarchasm: The gulf between the author of sarcastic wit and the person who doesn't get it.

  3. #3
    Barn Enthusiast sbenj69 is a jewel in the rough sbenj69 is a jewel in the rough sbenj69 is a jewel in the rough sbenj69 is a jewel in the rough sbenj69's Avatar
    Join Date
    Mar 2008
    Location
    The frigid northern plains
    Posts
    432
    Rep Power
    7

    primary key has been removed allowing for adding two cities with same zip.

    Will see if I can find a better list to import.
    Join our Folding team: DeveloperBarn Folding
    -----------------------------------
    Folding Stats - Stanford University
    Folding Stats - Extreme Over-Clocking
    Folding Stats - Kakao Stats
    Folding Stats - Xtreme CPU

    -----------------------------------

+ Reply to Thread

Bookmarks

Posting Permissions

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

SEO by vBSEO