I have a database that has a relationship between three tables called Staff StaffEscalation and Escalation.
The relationship is:
Staff StaffEscalation
StaffID(1)--------(many)StaffID
StaffEscalation Escalation
EscalID(many)---------(1)EscalID
In the Staff table I have the Staff Name and in the StaffEscalation table I have some yes/no fields.
The query for the form is: SELECT Escalation.EscalID, StaffEscalation.EscalID, StaffEscalation.StaffID FROM Escalation INNER JOIN StaffEscalation ON Escalation.EscalID = StaffEscalation.EscalID;
On a form (which I going to turn into a continuous subform) I want to be able to have the staff name and these other yes/no fields. I have made an unbound combo box which selects specific staff from staff table in column 1 of the combo box and the staff ID corresponding to that person in column 2. I have bound column 2. Both Staff ID and Escal ID are autonumbers.
On the form I have the combo box a text box bound to staff escaltaion.staffID a text box bound to staffescalation.escalID and escalation.escalID (I was using the last two text boxes for checking) When I create a new record and select someone from the list, the staff ID updates but a new escaltion ID is not created.
Why would this be happening and how could I fix this?
The relationship is:
Staff StaffEscalation
StaffID(1)--------(many)StaffID
StaffEscalation Escalation
EscalID(many)---------(1)EscalID
In the Staff table I have the Staff Name and in the StaffEscalation table I have some yes/no fields.
The query for the form is: SELECT Escalation.EscalID, StaffEscalation.EscalID, StaffEscalation.StaffID FROM Escalation INNER JOIN StaffEscalation ON Escalation.EscalID = StaffEscalation.EscalID;
On a form (which I going to turn into a continuous subform) I want to be able to have the staff name and these other yes/no fields. I have made an unbound combo box which selects specific staff from staff table in column 1 of the combo box and the staff ID corresponding to that person in column 2. I have bound column 2. Both Staff ID and Escal ID are autonumbers.
On the form I have the combo box a text box bound to staff escaltaion.staffID a text box bound to staffescalation.escalID and escalation.escalID (I was using the last two text boxes for checking) When I create a new record and select someone from the list, the staff ID updates but a new escaltion ID is not created.
Why would this be happening and how could I fix this?
Last edited: