This is probably easy to do, but I am not smart enough to figure it out.
I have to create a time-tracking database for my company. For part of this, I need to create a report showing days worked and not worked. The supervisor will enter a starting date and an ending date. I have a table that contains the dates and times worked, but I need to show those days where the employee did not work on this same report. So assume John Doe worked the following schedule:
2016/1/10 - In: 7:55 ' First clock-in of the day
2016/1/10 - Out: 11:30 ' Went to lunch
2016/1/10 - In: 12:10 ' Back from lunch
2016/1/10 - Out: 16:30 ' Done for the day
2016/1/12 - In: 8:03 ' Clocked in for the day, did not work 2016/1/11
2016/1/12 - Out: 17:30 ' Clocked out - no lunch
I would like the report to show 2016/1/11 like this:
2016/1/10 7:55 11:30 12:10 16:30
2016/1/11
2016/1/12 8:03 17:30
I have the report formatted as I want. I have the query/VBA code that will create the single line for each day. The report works except for the days where the employee does not clock any time. I can't figure out how to make the missing day show up on the report. Any help would be greatly appreciated.
Thanks
James
I have to create a time-tracking database for my company. For part of this, I need to create a report showing days worked and not worked. The supervisor will enter a starting date and an ending date. I have a table that contains the dates and times worked, but I need to show those days where the employee did not work on this same report. So assume John Doe worked the following schedule:
2016/1/10 - In: 7:55 ' First clock-in of the day
2016/1/10 - Out: 11:30 ' Went to lunch
2016/1/10 - In: 12:10 ' Back from lunch
2016/1/10 - Out: 16:30 ' Done for the day
2016/1/12 - In: 8:03 ' Clocked in for the day, did not work 2016/1/11
2016/1/12 - Out: 17:30 ' Clocked out - no lunch
I would like the report to show 2016/1/11 like this:
2016/1/10 7:55 11:30 12:10 16:30
2016/1/11
2016/1/12 8:03 17:30
I have the report formatted as I want. I have the query/VBA code that will create the single line for each day. The report works except for the days where the employee does not clock any time. I can't figure out how to make the missing day show up on the report. Any help would be greatly appreciated.
Thanks
James