J
Jasonm
Hi,
I am using the following SQL to create a table with two newly created
fields:
SELECT Equipment.ID, Equipment.CategoryID, Equipment.HourReading,
Max(Hours.Hours) AS MaxOfHours, 0 AS NewHours, Equipment.Description, Date()
AS NewDate INTO tblHoursEntryPS
FROM Equipment INNER JOIN Hours ON Equipment.ID = Hours.EquipmentID
GROUP BY Equipment.ID, Equipment.CategoryID, Equipment.HourReading, 0,
Equipment.Description, Date()
HAVING (((Equipment.CategoryID)=7) AND ((Equipment.HourReading)=True));
I would like the field NewHours to have a format of double with two
decimals. Is there a way that i can easily so this by setting the properties
of the new field in the statement 0 AS NewHours...
Any assistance would be appreciated.
Jason M Canady
I am using the following SQL to create a table with two newly created
fields:
SELECT Equipment.ID, Equipment.CategoryID, Equipment.HourReading,
Max(Hours.Hours) AS MaxOfHours, 0 AS NewHours, Equipment.Description, Date()
AS NewDate INTO tblHoursEntryPS
FROM Equipment INNER JOIN Hours ON Equipment.ID = Hours.EquipmentID
GROUP BY Equipment.ID, Equipment.CategoryID, Equipment.HourReading, 0,
Equipment.Description, Date()
HAVING (((Equipment.CategoryID)=7) AND ((Equipment.HourReading)=True));
I would like the field NewHours to have a format of double with two
decimals. Is there a way that i can easily so this by setting the properties
of the new field in the statement 0 AS NewHours...
Any assistance would be appreciated.
Jason M Canady