I had classes 20+ years ago on databases, so I understand the basic principles of tables, queries and normalizing. But other than that, I haven't built a database in 20+ years, so please bear with me as I brush off the rust. I now have a project to build a database and I need some help getting over a hump.
This particular problem deals with creating a system to autofill city, state and zip on a contact form. I already have the data and, based on advice I found in a couple other forums, I've created the following tables:
tbl_States
------------
State_ID (PK)
State
tbl_CityState
------------
City_ID (PK)
City
State (FK)
tbl_Zips
------------
Zip_ID (PK)
Zip Code
tbl_CityZip
------------
ZipID (FK)
CityID (FK)
tbl_Persons
------------
Person_ID (PK)
First Name
Last Name
ZipID (FK - tbl_CityZip.ZipID)
City
State
I have created a Contact form which uses a combo box to look up the zip code from tbl_CityZip, and it brings in the zip code from tbl_Zips just fine (displaying the zip, but storing tbl_CityZip.ZipID). What I can't figure out is how to have it automatically display the related city and state in respective text boxes. Any assistance and instructions would be appreciated. Thank you!