S
Shanin
I'm trying to figure out a good way to show actual timecards versus
scheduled. I have an Access 2000 database that is pulling info from a FoxPro
database to compile this. I currently have a query and report that pull
everyone's time sorts it by department and by day and totals it by day and
report total depending on the date range entered. It looks like this:
SELECT tktimcrd.employee, tktimcrd.job, tktimcrd.department,
tktimcrd.work_date, py_emplo.first_name, py_emplo.name, tktimcrd.time_in,
tktimcrd.time_out, tktimcrd.hours, tktimcrd.pay_type, pypaytyp.descriptn,
tktimcrd.comment
FROM (py_emplo INNER JOIN tktimcrd ON py_emplo.employee = tktimcrd.employee)
INNER JOIN pypaytyp ON tktimcrd.pay_type = pypaytyp.pay_type
WHERE (((tktimcrd.job) Not In ("10","30","35","81","25","82")) AND
((tktimcrd.department) Not In ("COR")) AND ((tktimcrd.work_date) Between
[Start date] And [End Date]) AND ((tktimcrd.pay_type) Not In
("S","P","Y","Z")))
ORDER BY tktimcrd.job, tktimcrd.work_date, tktimcrd.time_in
WITH OWNERACCESS OPTION;
What I really would like to do is on the report be able to just list the
schedule for that department on that day and I can't think of how to do it
since staff may not always work their scheduled shift, someone may fill in
for them. The scheduled info is in another table "tksche" and it has the
following fields: date (I didn't name it that, that is what it was named in
this FoxPro database), time_in, time_out, hours, and job. Is there anyway I
could just get it to list the schedule by day down one side of a report and
get it to pull the information of the actual worked hours down the other? I
know it's too complicated for my head to comprehend today.
Thanks
Shanin
scheduled. I have an Access 2000 database that is pulling info from a FoxPro
database to compile this. I currently have a query and report that pull
everyone's time sorts it by department and by day and totals it by day and
report total depending on the date range entered. It looks like this:
SELECT tktimcrd.employee, tktimcrd.job, tktimcrd.department,
tktimcrd.work_date, py_emplo.first_name, py_emplo.name, tktimcrd.time_in,
tktimcrd.time_out, tktimcrd.hours, tktimcrd.pay_type, pypaytyp.descriptn,
tktimcrd.comment
FROM (py_emplo INNER JOIN tktimcrd ON py_emplo.employee = tktimcrd.employee)
INNER JOIN pypaytyp ON tktimcrd.pay_type = pypaytyp.pay_type
WHERE (((tktimcrd.job) Not In ("10","30","35","81","25","82")) AND
((tktimcrd.department) Not In ("COR")) AND ((tktimcrd.work_date) Between
[Start date] And [End Date]) AND ((tktimcrd.pay_type) Not In
("S","P","Y","Z")))
ORDER BY tktimcrd.job, tktimcrd.work_date, tktimcrd.time_in
WITH OWNERACCESS OPTION;
What I really would like to do is on the report be able to just list the
schedule for that department on that day and I can't think of how to do it
since staff may not always work their scheduled shift, someone may fill in
for them. The scheduled info is in another table "tksche" and it has the
following fields: date (I didn't name it that, that is what it was named in
this FoxPro database), time_in, time_out, hours, and job. Is there anyway I
could just get it to list the schedule by day down one side of a report and
get it to pull the information of the actual worked hours down the other? I
know it's too complicated for my head to comprehend today.
Thanks
Shanin