T
TitaniaTiO2
Something is not right with my query or relationships....
Background:
I have the following tables/queries:
tblDepartment
DepartmentID
Department
tblPerson
PersonID
LastName
FirstName
JobTitle
EmploymentStatus
tblEmployment
PersonID
DepartmentID
qryEditEmployeeInfo
LastName
FirstName
JobTitle
EmploymentStatus
Department
DepartmentID
PersonID
Expr1 ([LastName]&", "&[FirstName])
I want a form where I can use a combo box to select an employee's name
(based on expr1) and populate editable text boxes with the corresponding
JobTitle, EmploymentStatus and Department. This is to allow the user to
update the information (just as a JobTitle change)
So far I have that working.
I want the user to be able to change the department (if listed in wrong
department or transferred). I would like to have the current department be
displayed, but the user be able to change this department. I tried to make
the department text box be a combo box.
Problem - When I try to select a different department, it modifies the
Department value in tblDepartment not the DepartmentID in tblEmployment.
Any suggestions on how I fix this?
Thanks!
Titania
Background:
I have the following tables/queries:
tblDepartment
DepartmentID
Department
tblPerson
PersonID
LastName
FirstName
JobTitle
EmploymentStatus
tblEmployment
PersonID
DepartmentID
qryEditEmployeeInfo
LastName
FirstName
JobTitle
EmploymentStatus
Department
DepartmentID
PersonID
Expr1 ([LastName]&", "&[FirstName])
I want a form where I can use a combo box to select an employee's name
(based on expr1) and populate editable text boxes with the corresponding
JobTitle, EmploymentStatus and Department. This is to allow the user to
update the information (just as a JobTitle change)
So far I have that working.
I want the user to be able to change the department (if listed in wrong
department or transferred). I would like to have the current department be
displayed, but the user be able to change this department. I tried to make
the department text box be a combo box.
Problem - When I try to select a different department, it modifies the
Department value in tblDepartment not the DepartmentID in tblEmployment.
Any suggestions on how I fix this?
Thanks!
Titania