S
sigi7
Guest
Hi everyone,
I have problems using a SUM aggregate over short-time values hh:mm
For example:
Select Sum(Mileage) as Field1, Sum(TotalLabourCosts) AS Field2, Sum(VanRental) AS Field3, Sum(preparingJob) AS Field4, Sum(doingTheJob) AS Field5, Sum(packingAway) AS Field6
FROM tblInstallCosts WHERE date > " & strFrom & " AND date < " & strTo
the time is in a hh:mm
ss) format. The SUM agregate wouldnt work over a time field,...why is that and what's the way round this?
somebody please help, cheers fellas.
Sigi from slovakia
I have problems using a SUM aggregate over short-time values hh:mm
For example:
Select Sum(Mileage) as Field1, Sum(TotalLabourCosts) AS Field2, Sum(VanRental) AS Field3, Sum(preparingJob) AS Field4, Sum(doingTheJob) AS Field5, Sum(packingAway) AS Field6
FROM tblInstallCosts WHERE date > " & strFrom & " AND date < " & strTo
the time is in a hh:mm

somebody please help, cheers fellas.
Sigi from slovakia
Last edited: