Hello, i have 2 tables
Employees (IdEmp, NameEmp, PasswordEMP) and
Calls(IdEmp, NoCall, problem, description, case)
Case take up values from "Yes", "No", "Suivi","Error".
I've created a log on form that works very well (frm logon), using a combo box(cboEmployee)and a field where one can insert the password, and another form that takes all the fields from table "Calls".
When i receive a call i'll note it in this form (frmCalls).
Also IdEMP from the form Calls is set up as = forms!frmLogon!cboemployees.column(0).
When i press the buton "save" in order to save my record it gaves me an error message : You cannot add or change a record because a related record is required in table "Employees". However this happens only the second time when i press the second time on "save", the first times it saves the record, and refresh the form to the default values, and when i change them and hit again save it gaves me the error.
Anyone knows what is the problem?
Employees (IdEmp, NameEmp, PasswordEMP) and
Calls(IdEmp, NoCall, problem, description, case)
Case take up values from "Yes", "No", "Suivi","Error".
I've created a log on form that works very well (frm logon), using a combo box(cboEmployee)and a field where one can insert the password, and another form that takes all the fields from table "Calls".
When i receive a call i'll note it in this form (frmCalls).
Also IdEMP from the form Calls is set up as = forms!frmLogon!cboemployees.column(0).
When i press the buton "save" in order to save my record it gaves me an error message : You cannot add or change a record because a related record is required in table "Employees". However this happens only the second time when i press the second time on "save", the first times it saves the record, and refresh the form to the default values, and when i change them and hit again save it gaves me the error.
Anyone knows what is the problem?