Hey all,
I have the following data on a subform:
EmployeeName, Payroll NUmber, Initial Request date, date_booked, leave_type, part_of_day, hours_booked, Notes,
1)I want to count the amount of instances where leave_type = "Sickness" in the last 6 momnths/
Calculate the amount of hours(hours_booked)/24 to convert in days in the last 12 months.
I have tried the following:
1) =Sum(IIf([leave_type]="Sickness",1)) < not sure how to do the date bit
2) Same first part as above but still not sure on how to calculate the date part.
Thanks very much
Mohsin
________
Glass Pipes
I have the following data on a subform:
EmployeeName, Payroll NUmber, Initial Request date, date_booked, leave_type, part_of_day, hours_booked, Notes,
1)I want to count the amount of instances where leave_type = "Sickness" in the last 6 momnths/
Calculate the amount of hours(hours_booked)/24 to convert in days in the last 12 months.
I have tried the following:
1) =Sum(IIf([leave_type]="Sickness",1)) < not sure how to do the date bit
2) Same first part as above but still not sure on how to calculate the date part.
Thanks very much
Mohsin
________
Glass Pipes
Last edited: