Hi,
Thanks for your help so far has helped a lot.
I have been tasked with setting up a database to record holiday and sickness. I want to be able to total these independantly of each other. I am using a pick list to chose from holiday or sick with a total of days taken but I am unable to get it to distinguish between holiday or sick. it will add up whether I choose holiday or sick.
Total days: IIf(([half_day]=Yes),"-0.5","-0")+([Date_end]-[date_start])+1
What I need it to say is IF [reason for absence]=Holiday then give me a total but IF [reason for absence]=Sickness ignore
I can then do another box for sickness totals asking the reverse i.e. IF [reason for absence]=sickness then give me a total but IF [reason for absence]=holiday then ignore
I hope you understand what I mean. There is probably a much simpler way of doing this but I am still only at intermediate stage!
Any help you can give me would be appreciates
Many thanks
MANDI

Thanks for your help so far has helped a lot.
I have been tasked with setting up a database to record holiday and sickness. I want to be able to total these independantly of each other. I am using a pick list to chose from holiday or sick with a total of days taken but I am unable to get it to distinguish between holiday or sick. it will add up whether I choose holiday or sick.
Total days: IIf(([half_day]=Yes),"-0.5","-0")+([Date_end]-[date_start])+1
What I need it to say is IF [reason for absence]=Holiday then give me a total but IF [reason for absence]=Sickness ignore
I can then do another box for sickness totals asking the reverse i.e. IF [reason for absence]=sickness then give me a total but IF [reason for absence]=holiday then ignore
I hope you understand what I mean. There is probably a much simpler way of doing this but I am still only at intermediate stage!
Any help you can give me would be appreciates
Many thanks
MANDI
