This will be a definate newbie question but here it goes.... I am new to Access and fighting my way through building a database to learn. I have broken my tables down to as normalized as I am willing to go, mabey a little further than needed. So now I have several tables that are related. I need to know how to make a form update several tables at once and prevent the user from having to mess with the autonumbers that are created. Here is a sample of my tables:
All Primary Keys (PK) are autonumbers
tblStaff
StaffID PK
StaffTypeID FK to tblStaff
FirstName
MiddleInitial
LastName
SSN
AddressID FK to tblAddresses
tblStaffTypes
StaffTypeID PK
StaffType
tblAddresses
AddressID PK
AddressTypeID FK to tblAddressTypes
AddressLine1
AddressLine2
CityID FK to tblCities
StateID FK to tblStates
ZipID FK to tblZips
tblAddressTypes
AddressTypeID PK
AddressType
tblCities
CityID PK
City
tblStates
StateID PK
City
tblZips
ZipID PK
Zips
I now know that I may have taken the normalization a little further than needed but I have it done and would like to use it if I can.
I want a form where a user can add a staff member with all of their information on one form (name, ssn, and address) without having to deal with the autonumbers or needing to do it in a certain order to make it work. I also don't want excessive use of combo boxes (state is OK). So far I haven't found a way to do this, please help.
All Primary Keys (PK) are autonumbers
tblStaff
StaffID PK
StaffTypeID FK to tblStaff
FirstName
MiddleInitial
LastName
SSN
AddressID FK to tblAddresses
tblStaffTypes
StaffTypeID PK
StaffType
tblAddresses
AddressID PK
AddressTypeID FK to tblAddressTypes
AddressLine1
AddressLine2
CityID FK to tblCities
StateID FK to tblStates
ZipID FK to tblZips
tblAddressTypes
AddressTypeID PK
AddressType
tblCities
CityID PK
City
tblStates
StateID PK
City
tblZips
ZipID PK
Zips
I now know that I may have taken the normalization a little further than needed but I have it done and would like to use it if I can.
I want a form where a user can add a staff member with all of their information on one form (name, ssn, and address) without having to deal with the autonumbers or needing to do it in a certain order to make it work. I also don't want excessive use of combo boxes (state is OK). So far I haven't found a way to do this, please help.