G
Guest
I have a form linked to a table that has a couple of 'after update' actions.
There is a release time field (date/time, short time format, input mask 00:00)
and
a time in field (date/time format, short time format,)
and
a total time taken field (Date/Time, no format)
There is also a distance field (in yards)
The purpose is to calculate the total time taken and speed in yards per
minute.
A friend created some Vb as follows -
Private Sub Time_In_AfterUpdate()
Me.Total_Time_Taken = Me.Time_In - Me.Release_Time
Me.Speed_in_Yds_Min = Me.Distance_in_Yards / Me.Total_Time_Taken
End Sub
The problem I have is that the calculated time (total time taken field) is
in hours and mins
How can I make this field show in total minutes instead of hours and minutes?
Thanks
There is a release time field (date/time, short time format, input mask 00:00)
and
a time in field (date/time format, short time format,)
and
a total time taken field (Date/Time, no format)
There is also a distance field (in yards)
The purpose is to calculate the total time taken and speed in yards per
minute.
A friend created some Vb as follows -
Private Sub Time_In_AfterUpdate()
Me.Total_Time_Taken = Me.Time_In - Me.Release_Time
Me.Speed_in_Yds_Min = Me.Distance_in_Yards / Me.Total_Time_Taken
End Sub
The problem I have is that the calculated time (total time taken field) is
in hours and mins
How can I make this field show in total minutes instead of hours and minutes?
Thanks