i am trying to take a query that currently is pulling the user name from a directory that holds all users against a user log on for different sites for who is on the system at the snapshot time but cannot seperate the date from the time and get the graph to display properly. but when i use this query i get the data i want displayed but trying to display it in a chart i only show the date and total of that date not seperated by the times, which are pulled at 10:10, 11:10, 12:10,13:10, 14:10 and 15:10 from the server itself for who is logged in currently.
Code:
SELECT Directory.Warehouse
, User3.[date/time]
, Count(User3.ID)
AS CountOfID
FROM Directory INNER JOIN
User3
ON Directory.[User ID] = User3.ID
GROUP BY Directory.Warehouse
, User3.[date/time]
HAVING (((Directory.Warehouse)="11"));
Comment