Answering on my phone so haven’t looked at your database
Create an aggregate query by clicking the Totals button on the ribbon. Add the employee, date and late fields to the query. All wii day Group By in the Totals row.
Now change the date field to Month(Your Dare Field). Also change the Group By to Sum for your late field.
Its not easy for me to understand the fields as I can't read Arabic(?)
This is roughly what I described before. Adapt as necessary
Code:
SELECT Sum(DATA_QRY.S) AS TotalLates, DATA_QRY.Payroll_No, DATA_QRY.Name, Month([Date_late]) AS [Month]
FROM DATA_QRY
GROUP BY DATA_QRY.Payroll_No, DATA_QRY.Name, Month([Date_late]);