G
Guest
I have a form that has 2 fields on it for time start and time end (not date).
A third field records the difference between the start and end time. If a
person records a time of 8:30am to 9:30am the third field shows .99 as the
difference. I need it to show 1 for one hour of time. The times will never
crossover midnight (if it did I think someone needs to get a life). The
times are typed in as military time but show on the main form as regular time
format. The code line that fills the 3 field with the difference is as
follows:
Me.txtWorkTimeAmount = 24 * (Me.txtProjectWorkEndTime -
Me.txtProjectWorkStartTime)
This line is in the end time after_update event.
How do I go about showing the 1 instead of .99?
Thanks ... John
A third field records the difference between the start and end time. If a
person records a time of 8:30am to 9:30am the third field shows .99 as the
difference. I need it to show 1 for one hour of time. The times will never
crossover midnight (if it did I think someone needs to get a life). The
times are typed in as military time but show on the main form as regular time
format. The code line that fills the 3 field with the difference is as
follows:
Me.txtWorkTimeAmount = 24 * (Me.txtProjectWorkEndTime -
Me.txtProjectWorkStartTime)
This line is in the end time after_update event.
How do I go about showing the 1 instead of .99?
Thanks ... John