G
Guest
SELECT Format([Accept_Time],"yyyy") AS [Year], Format([Accept_Time],"mm") AS [Month], Format([Accept_Time],"dd") AS [Day], Format([Accept_Time],"ddd") AS [Long Day], Format([Accept_Time],"hh") AS [Hour], a.QUEUE, e.WORK_GROUP, e.LOCATION, Count(DISTINCT e.LOGIN_NAME) AS [Head Count
FROM [Local DispatchAccept] AS a INNER JOIN [Local Employee] AS e ON a.ACCEPT_LOGIN_NAME = e.LOGIN_NAM
GROUP BY Format([Accept_Time],"yyyy"), Format([Accept_Time],"mm"), Format([Accept_Time],"dd"), Format([Accept_Time],"ddd"), Format([Accept_Time],"hh"), a.QUEUE, e.WORK_GROUP, e.LOCATION
i am trying to execute this SQL statement in Acces
Unfortunatly there is an error on Count(Distinct e.LOGIN_NAME) in the form o
Syntax Error (Missing Operator) in Query Expression can anyone help with i
Thanking you in advanc
Guest
FROM [Local DispatchAccept] AS a INNER JOIN [Local Employee] AS e ON a.ACCEPT_LOGIN_NAME = e.LOGIN_NAM
GROUP BY Format([Accept_Time],"yyyy"), Format([Accept_Time],"mm"), Format([Accept_Time],"dd"), Format([Accept_Time],"ddd"), Format([Accept_Time],"hh"), a.QUEUE, e.WORK_GROUP, e.LOCATION
i am trying to execute this SQL statement in Acces
Unfortunatly there is an error on Count(Distinct e.LOGIN_NAME) in the form o
Syntax Error (Missing Operator) in Query Expression can anyone help with i
Thanking you in advanc
Guest