Hi all,
My simple "Edit Employee Form" has not been made with the wizard, instead it's been done in design view. This has helped me learn more about how forms work with queries etc...but not enough obviously.
When you select from the combo box (showing employee ID AND name) the employee, the remaining text boxes (Name, Mobile No., Address etc) automatically populate after many hours realising I needed the following query as the control source of the form...
SELECT tblEmployee.* FROM tblEmployee WHERE (((tblEmployee.[Employee ID])=Forms!frmEditEmployee!cboEmployeeID));
I'm stuck now with my cmdSave button. OnDirty it's enabled and OnClick executes a macro that "Saves" to table "tblEmployee", but I get a message that reads "The object 'tblEmployee' isn't open."
I have the feeling it's got something to do with my newbness and inexperience with Access, and the fact that I've drawn up this form in design view instead of using the wizard.
Please help a newbie.
It's free of charge.
Thanks in advance...
My simple "Edit Employee Form" has not been made with the wizard, instead it's been done in design view. This has helped me learn more about how forms work with queries etc...but not enough obviously.
When you select from the combo box (showing employee ID AND name) the employee, the remaining text boxes (Name, Mobile No., Address etc) automatically populate after many hours realising I needed the following query as the control source of the form...
SELECT tblEmployee.* FROM tblEmployee WHERE (((tblEmployee.[Employee ID])=Forms!frmEditEmployee!cboEmployeeID));
I'm stuck now with my cmdSave button. OnDirty it's enabled and OnClick executes a macro that "Saves" to table "tblEmployee", but I get a message that reads "The object 'tblEmployee' isn't open."
I have the feeling it's got something to do with my newbness and inexperience with Access, and the fact that I've drawn up this form in design view instead of using the wizard.
Please help a newbie.
It's free of charge.
Thanks in advance...