Hi,
I have a query that contanis the (Employees Work Rotations) of 4 columns ;
------------------------------------------------------|
In_Work | Out_Work | Work_Days | Off_Days
------------------------------------------------------|
01/01/2008 | 15/01/2008 | 15 | 4
20/01/2008 ............................................
....................................................................
------------------------------------------------------|
You can see that the Off_Days = 4 since the employee came back to work after 4 days off ....
I've got the Work_Days values by the DateDiff() function but ....
the question is , How can I generate the "Off_Days" values ?
Many thanks
in advance .
I have a query that contanis the (Employees Work Rotations) of 4 columns ;
------------------------------------------------------|
In_Work | Out_Work | Work_Days | Off_Days
------------------------------------------------------|
01/01/2008 | 15/01/2008 | 15 | 4
20/01/2008 ............................................
....................................................................
------------------------------------------------------|
You can see that the Off_Days = 4 since the employee came back to work after 4 days off ....
I've got the Work_Days values by the DateDiff() function but ....
the question is , How can I generate the "Off_Days" values ?
Many thanks