Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Days, Hours & Minutes 1

Status
Not open for further replies.

RAClarke

Instructor
Sep 3, 2001
51
0
0
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
 
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
 
Are the hours stored in date/time format or decimal?
 
as part of the Date/Time format

Frank J Hill
FHS Services Ltd.
frank@fhsservices.co.uk
 
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top