A
Aberdeen123
Guest
Hope someone can help:
I am trying to create a report which details the number of hours worked by each employee for the last seventeen weeks.
If for some reason one week returns a null or zero value this week (only for the respective employee) has to be disgarded and the so called 18th week be used and so on.
I have a Staff Table and TimeSheetLines Table which has a weekendingdate field and staffid field.
Can anyone push me in the right direction as to how to extract this imformation?
I am aware of how to extract the imformation for the last 17 weeks but am not sure how I can add to this if some values are null.
Thank you in advance
I am trying to create a report which details the number of hours worked by each employee for the last seventeen weeks.
If for some reason one week returns a null or zero value this week (only for the respective employee) has to be disgarded and the so called 18th week be used and so on.
I have a Staff Table and TimeSheetLines Table which has a weekendingdate field and staffid field.
Can anyone push me in the right direction as to how to extract this imformation?
I am aware of how to extract the imformation for the last 17 weeks but am not sure how I can add to this if some values are null.
Thank you in advance