I have a form based on the Employee table listed below. The Employee table and Office table are linked as a one-to-many relationship using the Officecode field in both tables. The Employee table uses the Office table (Officename field) as a lookup. My problem is when I created the Employee form based on the Employee table and when I change the Officename field using the dropdown combo box it doesn’t change the Officecode field in the table to reflect both the change in OfficeCode and Officename. Could someone tell me what I am doing wrong or how I need to link the fields so when I change the Officename using the dropdown field Officename in the form it will change the corresponding OfficeCode? Thanks.
Employee Table:
EmId (primary key)
Officecode
Officename (lookup field in Office table)
Lastname
Fistname
Office Table:
Officecode (primary key)
Officename
Employee Form:
EmId
Officecode
Officename (dropdown combobox)
Lastname
Fisrtname
Employee Table:
EmId (primary key)
Officecode
Officename (lookup field in Office table)
Lastname
Fistname
Office Table:
Officecode (primary key)
Officename
Employee Form:
EmId
Officecode
Officename (dropdown combobox)
Lastname
Fisrtname