Hi Derek,

Thank you very much for the solution. It is indeed a much cleaner and more logical approach. I would not have been able to reach this result. I have a lot to learn. What you have done here helps me a lot and I appreciate your effort to help me and the less knowledgeable in general.

Iacobescu Bogdan.

Thanks for the reply. The problem is not the number of days and their sum. The problem is that I fail to report days off for an interval of days. The calculation is made for all days off from the first registration and I did not find the method by which I can see the amount of days off between day x and day y. I translated the project and simplified it a bit. In the attached example I would like to be able to see the amount of days off only from November, but the amount is also made with the days of October. (the 'report' button opens the form 'reportVASILE' and here I would like to be able to sort according to a date interval the total of free days). If I want to know how many days off "Eftimie Nicolae" had in November, the result includes the days off in October. How do I fix this? Please help me.

Hi, I want to filter data for a given date range.
Please help me to solve this problem.
I attached the project.
The end I would like to be a report in which I can see the sum of days off, for each employee, in a time interval.