The primary table is employees (employeeid) that contains the field "manager" with their employee record.
The secondary table (lookup table) is their time sheets with employeeid.
Each employee needs to submit a daily time sheet at the end of the week.
A report needs to be run weekly detailing their daily time by manager.
However, if there is no time for an individual employee, they do not print. I have tried all different joins, nothing helps. I suspect it is because I am filtering by dates (date from to date to) on the the time sheets. The employees I need to print have prior records.
I created a subreport linking by the manager. I past the dates (from and to) as shared variables. Using the dates only as a x-1 filter on print for suppression. I am getting all the employees but still not the ones that have no time sheet. I am attempting to pull only the ones that do not have the time sheet between these two dates. I could suppress all others. Any suggestions to logic would be appreciated.
main report
employees with time sheets and totals (linked by employee to time sheet) works
subreport
employees with no time sheets
I have the sub report linked to employeeid in the manager's group.
Thank you for any suggestion. I am using CR 9 with a SQL table connected by Ole DB (ADO). I run through an purchased application and do not know what it is written in.
The secondary table (lookup table) is their time sheets with employeeid.
Each employee needs to submit a daily time sheet at the end of the week.
A report needs to be run weekly detailing their daily time by manager.
However, if there is no time for an individual employee, they do not print. I have tried all different joins, nothing helps. I suspect it is because I am filtering by dates (date from to date to) on the the time sheets. The employees I need to print have prior records.
I created a subreport linking by the manager. I past the dates (from and to) as shared variables. Using the dates only as a x-1 filter on print for suppression. I am getting all the employees but still not the ones that have no time sheet. I am attempting to pull only the ones that do not have the time sheet between these two dates. I could suppress all others. Any suggestions to logic would be appreciated.
main report
employees with time sheets and totals (linked by employee to time sheet) works
subreport
employees with no time sheets
I have the sub report linked to employeeid in the manager's group.
Thank you for any suggestion. I am using CR 9 with a SQL table connected by Ole DB (ADO). I run through an purchased application and do not know what it is written in.