mtagliaferri
Registered User.
- Local time
- Today, 20:27
- Joined
- Jul 16, 2006
- Messages
- 550
I have a form with various calculation fields to calculate and display the difference between two dates/times and rounding this up to the nearest quarter of the hour (measured in 0.25, 0.50 or 0.75 for pay calculation)
(Pic attached = Start date - End Date - Tot Mins - Hours - Mins - Round Up)
The result is displayed in a field named [BobNewNear] where the Control Source is
.
The minimum pay is 6 hours.
If the Control Source for [BobNewNear] has a value between 0.25 and 5.75 I would like always to display 6.00, for any calculated value above 6.00 to display the actual calculated value.
How can I achieve this?
(Pic attached = Start date - End Date - Tot Mins - Hours - Mins - Round Up)
The result is displayed in a field named [BobNewNear] where the Control Source is
Code:
=NewNear([BobTotMins])
The minimum pay is 6 hours.
If the Control Source for [BobNewNear] has a value between 0.25 and 5.75 I would like always to display 6.00, for any calculated value above 6.00 to display the actual calculated value.
How can I achieve this?