T
tc
I want to select the last entry in the table called LastTwoDays for
each PC ( PCNAME) with that selection I need all 3 fields EVENT,
PCNAME, and EVENT_TIME. The record contains the fields PCNAME, EVENT,
and EVENT_TIME. The query below was working for a while then just
seemed to stop. Now the EVENT name is not correct with the EVENT_TIME.
Any on have any ideas. I think I just need to start over.
SELECT LastTwoDays.PCNAME, Last(LastTwoDays.EVENT) AS LastOfEVENT,
Max([LastTwoDays]![ENTRY_TIME]) AS MaxOfDATE
FROM LastTwoDays
GROUP BY LastTwoDays.PCNAME;
each PC ( PCNAME) with that selection I need all 3 fields EVENT,
PCNAME, and EVENT_TIME. The record contains the fields PCNAME, EVENT,
and EVENT_TIME. The query below was working for a while then just
seemed to stop. Now the EVENT name is not correct with the EVENT_TIME.
Any on have any ideas. I think I just need to start over.
SELECT LastTwoDays.PCNAME, Last(LastTwoDays.EVENT) AS LastOfEVENT,
Max([LastTwoDays]![ENTRY_TIME]) AS MaxOfDATE
FROM LastTwoDays
GROUP BY LastTwoDays.PCNAME;