SQL:
SELECT [Staffed Time]/3600 & Format(([Staffed Time]/60) Mod 60,":""00""") &
Format([Staffed Time] Mod 60,":""00""") AS [Time]
FROM [tbl Aux Time];
Result:
7.51555555555556:00:00
Thanks for the help
Use the \ - backslash integer divide operator - instead of /; and get
rid of the extra quotes:
SELECT [Staffed Time]\3600 & Format(([Staffed Time]\60) Mod 60,"\:00")
& Format([Staffed Time] Mod 60,"\:00") AS [Time]>FROM [tbl Aux Time];
The ""00"" format will insert the literal characters 00 in the field
regardless of the time value; the \:00 makes the : a forced literal.
Sorry about the limited testing!
John W. Vinson[MVP]