G
Guest
I have a query that needs to pull the last wage information on seperated
employees. I have a form that one can choose from all past employees listed
and it is supposed, emphasis on supposed to, to pull up that person
seperation reason and last pay, etc.
The query is pulling off of three tables, tblEmployees, tblResignation, and
tblWages. The EmployeeID is the primary key on all of these or part of it
since the wage table has the EmployeeID and DateofChange as the primary key.
What the query needs to pull is the last name and first name and date of hire
from the tblEmployee, the resignation date, reason, and if eligible for
rehire from tblresignation, and all the information that is associated with
the last dateofchange in the tblWage, so basically their last day rate, night
rate, title and status. Do I need to usa a SelectDistinct here?? I know the
last function does not work since that will return whatever it feels like,
working sometimes and other times not.
employees. I have a form that one can choose from all past employees listed
and it is supposed, emphasis on supposed to, to pull up that person
seperation reason and last pay, etc.
The query is pulling off of three tables, tblEmployees, tblResignation, and
tblWages. The EmployeeID is the primary key on all of these or part of it
since the wage table has the EmployeeID and DateofChange as the primary key.
What the query needs to pull is the last name and first name and date of hire
from the tblEmployee, the resignation date, reason, and if eligible for
rehire from tblresignation, and all the information that is associated with
the last dateofchange in the tblWage, so basically their last day rate, night
rate, title and status. Do I need to usa a SelectDistinct here?? I know the
last function does not work since that will return whatever it feels like,
working sometimes and other times not.