G
Guest
I have a table with four fields: Project,Month, HoursSpentToDate,
WorkHrsThisMonth.
Project is a project name
MonthNo is the sequential number of each month in the calendar. There can
be any number of months in a project and a project can start on any month.
HoursSpentToDate is the cumulative number of hours expended on a project by
any number of employees as of the end of each month. This value will be ever
increasing for each higher MonthNo on a project.
HrsThisMonth is the constant precalculated number of work hours in a given
month based on 8hrs/workday times the number of workdays within a given month.
I want to determine how many people are spending time on the project in a
month. by dividing incremental hours spent each month by HrsThisMonth. Is
there a simple method within query design to calculate the incremental values
spent each month (this month cumulative minus last month cumulative)? Or do
I need to write a crosstab query and then a select query on the CTQ to
subtract values of one month field from its successor? This is awkward since
the calendar end will change as time passes.
Thanks for your assistance.
WorkHrsThisMonth.
Project is a project name
MonthNo is the sequential number of each month in the calendar. There can
be any number of months in a project and a project can start on any month.
HoursSpentToDate is the cumulative number of hours expended on a project by
any number of employees as of the end of each month. This value will be ever
increasing for each higher MonthNo on a project.
HrsThisMonth is the constant precalculated number of work hours in a given
month based on 8hrs/workday times the number of workdays within a given month.
I want to determine how many people are spending time on the project in a
month. by dividing incremental hours spent each month by HrsThisMonth. Is
there a simple method within query design to calculate the incremental values
spent each month (this month cumulative minus last month cumulative)? Or do
I need to write a crosstab query and then a select query on the CTQ to
subtract values of one month field from its successor? This is awkward since
the calendar end will change as time passes.
Thanks for your assistance.