I have not resolved this, in fact it has gotten worse. I am basically trying to pull any information that would be for the past 2 days...so it doesnt matter if i have to put it in in hours or days just the last 2 days 00:00 to 11:59 pm
Here is the SQL
SELECT [48_Hour_Pull].Expr1, [48_Hour_Pull].[2-Change-Category], [48_Hour_Pull].[1a-Request-Name], [48_Hour_Pull].[Severity-of-Change], [48_Hour_Pull].[Planned-Start], [48_Hour_Pull].[Planned-Finish], [48_Hour_Pull].Status, [48_Hour_Pull].[Complete-Status], [48_Hour_Pull].[Actual-Start], [48_Hour_Pull].[Actual-Finish], [48_Hour_Pull].[Emergency-Approver], Approval_Codes.Reason, Approval_Codes.[Code #], Count([48_Hour_Pull].Expr1) AS CountOfExpr1
FROM (48_Hour_Pull INNER JOIN BJWfindcodenumber AS BJWfindcodenumber_1 ON [48_Hour_Pull].Expr1 = BJWfindcodenumber_1.Expr1) INNER JOIN Approval_Codes ON BJWfindcodenumber_1.codeNo = Approval_Codes.[Code #]
GROUP BY [48_Hour_Pull].Expr1, [48_Hour_Pull].[2-Change-Category], [48_Hour_Pull].[1a-Request-Name], [48_Hour_Pull].[Severity-of-Change], [48_Hour_Pull].[Planned-Start], [48_Hour_Pull].[Planned-Finish], [48_Hour_Pull].Status, [48_Hour_Pull].[Complete-Status], [48_Hour_Pull].[Actual-Start], [48_Hour_Pull].[Actual-Finish], [48_Hour_Pull].[Emergency-Approver], Approval_Codes.Reason, Approval_Codes.[Code #]
HAVING ((([48_Hour_Pull].[Severity-of-Change])="Emer Br/Fix") AND (([48_Hour_Pull].[Planned-Start]) Between (DateAdd("d",0,Date())) And (DateAdd("d",-3,Date()))));