D
Dann
I can run the following query fine
However if i click on the save button MS access shuts down with no errors
i have tried on multiple machines and this is the case for all of them
TRANSFORM Count(tbl_EX_Updated_Exceptions.EMTID) AS Events
SELECT Format$([tbl_EX_Updated_Exceptions].[Date],'mmmm yyyy') AS [Date By
Month], IIf([tbl_EX_Updated_Exceptions]![Closed_User] Is
Null,IIf([tbl_EX_Updated_Exceptions]![Last_Updated_User] Is Null,"Current
User " &
[tbl_EX_Updated_Exceptions]![Status_User_Current],"Last Updated by " &
[tbl_EX_Updated_Exceptions]![Last_Updated_User]),"Closed by " &
[tbl_EX_Updated_Exceptions]![Closed_User]) AS [User State],
Count(tbl_EX_Updated_Exceptions.EMTID) AS [Total Events]
FROM tbl_EX_Updated_Exceptions
GROUP BY Format$([tbl_EX_Updated_Exceptions].[Date],'mmmm yyyy'),
Year([tbl_EX_Updated_Exceptions].[Date])*12+DatePart('m',[tbl_EX_Updated_Exceptions].[Date])-1,
IIf([tbl_EX_Updated_Exceptions]![Closed_User] Is
Null,IIf([tbl_EX_Updated_Exceptions]![Last_Updated_User] Is Null,"Current
User " & [tbl_EX_Updated_Exceptions]![Status_User_Current],"Last Updated by "
& [tbl_EX_Updated_Exceptions]![Last_Updated_User]),"Closed by " &
[tbl_EX_Updated_Exceptions]![Closed_User])
ORDER BY
Year([tbl_EX_Updated_Exceptions].[Date])*12+DatePart('m',[tbl_EX_Updated_Exceptions].[Date])-1
PIVOT tbl_EX_Updated_Exceptions.RevenueType;
However if i click on the save button MS access shuts down with no errors
i have tried on multiple machines and this is the case for all of them
TRANSFORM Count(tbl_EX_Updated_Exceptions.EMTID) AS Events
SELECT Format$([tbl_EX_Updated_Exceptions].[Date],'mmmm yyyy') AS [Date By
Month], IIf([tbl_EX_Updated_Exceptions]![Closed_User] Is
Null,IIf([tbl_EX_Updated_Exceptions]![Last_Updated_User] Is Null,"Current
User " &
[tbl_EX_Updated_Exceptions]![Status_User_Current],"Last Updated by " &
[tbl_EX_Updated_Exceptions]![Last_Updated_User]),"Closed by " &
[tbl_EX_Updated_Exceptions]![Closed_User]) AS [User State],
Count(tbl_EX_Updated_Exceptions.EMTID) AS [Total Events]
FROM tbl_EX_Updated_Exceptions
GROUP BY Format$([tbl_EX_Updated_Exceptions].[Date],'mmmm yyyy'),
Year([tbl_EX_Updated_Exceptions].[Date])*12+DatePart('m',[tbl_EX_Updated_Exceptions].[Date])-1,
IIf([tbl_EX_Updated_Exceptions]![Closed_User] Is
Null,IIf([tbl_EX_Updated_Exceptions]![Last_Updated_User] Is Null,"Current
User " & [tbl_EX_Updated_Exceptions]![Status_User_Current],"Last Updated by "
& [tbl_EX_Updated_Exceptions]![Last_Updated_User]),"Closed by " &
[tbl_EX_Updated_Exceptions]![Closed_User])
ORDER BY
Year([tbl_EX_Updated_Exceptions].[Date])*12+DatePart('m',[tbl_EX_Updated_Exceptions].[Date])-1
PIVOT tbl_EX_Updated_Exceptions.RevenueType;