Hi folks,
I have this dilemma which could be a breeze to some of you experts out there. I am just beggining to use Access. I took an online course which taught me basics only.
Iam trying to design a database for human resources to track absense of employees. I have creates the following 2 tables
Table1 with title EmployeesList and fields EmpID, EmpName, EmpDOB, EmpGen
Table2 with title Absense and fields Absense#, EmpId, EmpName, AbsenseDate, ReasonForAbs
I then made a one to many relationship between (EmpID) in the EmployeeList table and the EmpID in the Absense table.
I also created an Absense form.
I am trying to accomplish the following:
When the user enters the EmpID in the Absense form I want the EmpName in the form to automatically update to the name of the employee matching the EmpID entered. This way the user inputing the data makes sure that they are recording the absense for the right employee and that they did not miss enter the EmpID of another employee.
From reading on the net for a while now, I could kind of understand that I need to use an AfterUpdateEven function, but I still don't really know how.
Any help would be greatly appreciated.
Thanks
Rami
I have this dilemma which could be a breeze to some of you experts out there. I am just beggining to use Access. I took an online course which taught me basics only.
Iam trying to design a database for human resources to track absense of employees. I have creates the following 2 tables
Table1 with title EmployeesList and fields EmpID, EmpName, EmpDOB, EmpGen
Table2 with title Absense and fields Absense#, EmpId, EmpName, AbsenseDate, ReasonForAbs
I then made a one to many relationship between (EmpID) in the EmployeeList table and the EmpID in the Absense table.
I also created an Absense form.
I am trying to accomplish the following:
When the user enters the EmpID in the Absense form I want the EmpName in the form to automatically update to the name of the employee matching the EmpID entered. This way the user inputing the data makes sure that they are recording the absense for the right employee and that they did not miss enter the EmpID of another employee.
From reading on the net for a while now, I could kind of understand that I need to use an AfterUpdateEven function, but I still don't really know how.
Any help would be greatly appreciated.
Thanks
Rami