B
Brad Wood
My organization used to log tasks for projects in a spreadsheet. I
convinced them that a better process would be to create a database with
a small data entry utility and then simply run reports instead of
creating a new spreadsheet every month.
That worked fine except for one detail. The spreadsheet always included
every project whether hours were logged for it or not (this made it easy
to see at a glance that no work was done on a given project). I can't
reproduce that behaviour on a report.
For simplification, let me say that I have a Project table
(ProjectID, ProjectName)
with related entries in a Task table
(TaskID, TaskDescription, TaskDate).
When I create a query that lists tasks under their parent project with
associated dates, some projects will fall off the list when I add a date
range to the where clause (when no tasks were entered for that project
in that range).
Performing a left outer join makes no difference because as long as a
date range is included in the where clause, an outer join and an inner
join give the same results.
I can't think of a solution to this...
convinced them that a better process would be to create a database with
a small data entry utility and then simply run reports instead of
creating a new spreadsheet every month.
That worked fine except for one detail. The spreadsheet always included
every project whether hours were logged for it or not (this made it easy
to see at a glance that no work was done on a given project). I can't
reproduce that behaviour on a report.
For simplification, let me say that I have a Project table
(ProjectID, ProjectName)
with related entries in a Task table
(TaskID, TaskDescription, TaskDate).
When I create a query that lists tasks under their parent project with
associated dates, some projects will fall off the list when I add a date
range to the where clause (when no tasks were entered for that project
in that range).
Performing a left outer join makes no difference because as long as a
date range is included in the where clause, an outer join and an inner
join give the same results.
I can't think of a solution to this...