thanks. i never knew there was a difference between text and a value. i knew that you can calculate value but never anything else.
i wonder mr b if you can quickly help me with this. its not a crucial part just a calculation.
=IIf(DateDiff('h',[TuesdayStartTime],[TuesdayFinishTime])>5,Sum(DateDiff('m',[TuesdayStartTime],[TuesdayFinishTime])-30),Sum(DateDiff('m',[TuesdayStartTime],[TuesdayFinishTime])\60)
what i am trying to do is calculate the time difference. if the hours are above 5 then minus 30 minutes(for break) if not above 5 then show the value. i have put \60 in the false statement but i would also like it in the true statement but i thought it might just look too boggled if i did.
and eventually calculate the working week. if a staff member works longer than 5 hours they are entitled to a break of 30 minutes so i would like to deduct this. in the end i would like to calculate all of them together to get the weeks hours but im starting at day by day.