AsMok
IT IS ME ^_^
- Local time
- Today, 03:58
- Joined
- Sep 4, 2019
- Messages
- 67
hi all
lets assume that we have 2 employees :::
according to job conditions
-------employees have 30 days as an annual leave if the work for the company less than 3 years
-------------and have 45 days as an annual leave if the work for the company more than 3 years
calculating this year leave on my report can be done by.... i wrote it in a query ::
IIf(DateDiff("yyyy";[WorkDate];Date();7;1)>=3;45;30)
how can i have a field in my report to calculate all his working years since his working date that means some years the same employee have 30 days others have 45 ones:
hope my question is clear>>>>>>
lets assume that we have 2 employees :::
according to job conditions
-------employees have 30 days as an annual leave if the work for the company less than 3 years
-------------and have 45 days as an annual leave if the work for the company more than 3 years
calculating this year leave on my report can be done by.... i wrote it in a query ::
IIf(DateDiff("yyyy";[WorkDate];Date();7;1)>=3;45;30)
how can i have a field in my report to calculate all his working years since his working date that means some years the same employee have 30 days others have 45 ones:
hope my question is clear>>>>>>
Attachments
Last edited: