hi all
i have a form (frmEditEmployee) used to edit employee details.
the record source being
SELECT tblEmployee.* FROM tblEmployee WHERE (((tblEmployee.[Employee ID])=Forms!frmEditEmployee!cboEmployeeID));
when an employee is chosen from the top combo box "cboEmployeeID," the rest of the text fields populate accordingly.
what's the best way to save this data back to "tblEmployee" once changes are made? right now two of my attempts below have failed
1. my macro with action "save" to table tblEmployee comes up with an error message
2. is there a simple update query i can use?
thanks!
i have a form (frmEditEmployee) used to edit employee details.
the record source being
SELECT tblEmployee.* FROM tblEmployee WHERE (((tblEmployee.[Employee ID])=Forms!frmEditEmployee!cboEmployeeID));
when an employee is chosen from the top combo box "cboEmployeeID," the rest of the text fields populate accordingly.
what's the best way to save this data back to "tblEmployee" once changes are made? right now two of my attempts below have failed
1. my macro with action "save" to table tblEmployee comes up with an error message
2. is there a simple update query i can use?
thanks!