S
Stranger
My current setup is:
tblhardware.hardwareid 1 to many tblemployeehardware.hardwareid
tblemployees.employeeid 1 to many tblemployeehardware.employeeid
tblsites.siteid 1 to many tblsitelocation.siteid
tbllocationdepartment.locationdepartmentid 1 to many tblsitelocation.locationdepartmentid
tblsitelocation.sitelocationid 1 to many tblemployees.sitelocationid
I hope that is clear.
Now, what I have tried is creating the main form from the employees table
Created the subform using tblhardware.servicetag, tblsites.site, tbllocationdepartment.locationdepartment
I made servicetab, site, locationdepartment a combo box
I can see all hardware assigned to each employee as I cycle throuhg.
When I try to change an assigned hardware by picking the service tag from the list, it does not let me. I believe it thingks I am trying to add the service tag to the table a second time which is not allowed. No duplicate service tags.
How do I do this the correct way?
I want to be able to change an employees assigned hardware which may or may not involve also changing the site and location.
I also need to be able to assign an employee to a new piece of hardware. I think that covers what I have left to do.
thanks for any help.
Jack
tblhardware.hardwareid 1 to many tblemployeehardware.hardwareid
tblemployees.employeeid 1 to many tblemployeehardware.employeeid
tblsites.siteid 1 to many tblsitelocation.siteid
tbllocationdepartment.locationdepartmentid 1 to many tblsitelocation.locationdepartmentid
tblsitelocation.sitelocationid 1 to many tblemployees.sitelocationid
I hope that is clear.
Now, what I have tried is creating the main form from the employees table
Created the subform using tblhardware.servicetag, tblsites.site, tbllocationdepartment.locationdepartment
I made servicetab, site, locationdepartment a combo box
I can see all hardware assigned to each employee as I cycle throuhg.
When I try to change an assigned hardware by picking the service tag from the list, it does not let me. I believe it thingks I am trying to add the service tag to the table a second time which is not allowed. No duplicate service tags.
How do I do this the correct way?
I want to be able to change an employees assigned hardware which may or may not involve also changing the site and location.
I also need to be able to assign an employee to a new piece of hardware. I think that covers what I have left to do.
thanks for any help.
Jack