Oct 28, 2004 #1 RAClarke Instructor Sep 3, 2001 51 GB If I wish to sum up a column of hours on a form, how can I format a text box to show the result in days, hours and minutes (if in fact I can)? Thanks
If I wish to sum up a column of hours on a form, how can I format a text box to show the result in days, hours and minutes (if in fact I can)? Thanks
Oct 28, 2004 #2 Trendsetter Programmer Mar 25, 2003 782 GB AS a guess I would think - in the format section of the properties page hh:nn:ss Frank J Hill FHS Services Ltd. frank@fhsservices.co.uk Upvote 0 Downvote
AS a guess I would think - in the format section of the properties page hh:nn:ss Frank J Hill FHS Services Ltd. frank@fhsservices.co.uk
Oct 28, 2004 #3 AlanKW Technical User Jun 20, 2002 161 US Are the hours stored in date/time format or decimal? Upvote 0 Downvote
Oct 28, 2004 #4 Trendsetter Programmer Mar 25, 2003 782 GB as part of the Date/Time format Frank J Hill FHS Services Ltd. frank@fhsservices.co.uk Upvote 0 Downvote
Oct 29, 2004 Thread starter #5 RAClarke Instructor Sep 3, 2001 51 GB The hours are stored in date/time format. Upvote 0 Downvote
Oct 29, 2004 1 #6 PHV MIS Nov 8, 2002 53,708 FR Something like this ? SELECT Int(Sum(theTable.Time)) & " day " & Format(Sum(theTable.Time),'hh:nn') AS TotalTime FROM theTable Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244 Upvote 0 Downvote
Something like this ? SELECT Int(Sum(theTable.Time)) & " day " & Format(Sum(theTable.Time),'hh:nn') AS TotalTime FROM theTable Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244