bnickelsen
Registered User.
- Local time
- Today, 11:12
- Joined
- Jan 6, 2005
- Messages
- 31
With the following tables
tblStateList
IDStateList (AutoNumber Key)
StateName
tblCountyList
IDCountyList (AutoNumber Key)
CountyName
tblCityList
IDCityList (AutoNumber Key)
CityName
tblZipCodes
tblZipCodes (AutoNumber Key)
Zipcode
What would be the best way to set up relationships?
My First thought...
tblStateList
IDStateList (AutoNumber Key)
StateName
tblCountyList
IDCountyList (AutoNumber Key)
CountyName
fkIDStateList
tblCityList
IDCityList (AutoNumber Key)
CityName
fkIDCountyList
tblZipCodes
tblZipCodes (AutoNumber Key)
Zipcode
fkIDCityList
But I am wondering if I should also tie city and Zipcodes back to the State list as well..
tblStateList
IDStateList (AutoNumber Key)
StateName
tblCountyList
IDCountyList (AutoNumber Key)
CountyName
fkIDStateList
tblCityList
IDCityList (AutoNumber Key)
CityName
fkIDCountyList
fkIDStateList
tblZipCodes
tblZipCodes (AutoNumber Key)
Zipcode
fkIDCityList
fkIDStateList
tblStateList
IDStateList (AutoNumber Key)
StateName
tblCountyList
IDCountyList (AutoNumber Key)
CountyName
tblCityList
IDCityList (AutoNumber Key)
CityName
tblZipCodes
tblZipCodes (AutoNumber Key)
Zipcode
What would be the best way to set up relationships?
My First thought...
tblStateList
IDStateList (AutoNumber Key)
StateName
tblCountyList
IDCountyList (AutoNumber Key)
CountyName
fkIDStateList
tblCityList
IDCityList (AutoNumber Key)
CityName
fkIDCountyList
tblZipCodes
tblZipCodes (AutoNumber Key)
Zipcode
fkIDCityList
But I am wondering if I should also tie city and Zipcodes back to the State list as well..
tblStateList
IDStateList (AutoNumber Key)
StateName
tblCountyList
IDCountyList (AutoNumber Key)
CountyName
fkIDStateList
tblCityList
IDCityList (AutoNumber Key)
CityName
fkIDCountyList
fkIDStateList
tblZipCodes
tblZipCodes (AutoNumber Key)
Zipcode
fkIDCityList
fkIDStateList