MarrowGenx
MIS
Below is a query that I put in the SQL view and appears to work perfectly when I view it in design view then open it. If I try to open it directly or reference it in another query it does not work. Any ideas?
SELECT F.Project_Number
FROM tblSpending AS F LEFT JOIN [SELECT Project_Number FROM tblSpending WHERE Spending_Type='forecast - previous month'; ]. AS P ON F.Project_Number = P.Project_Number
WHERE (((F.Spending_Type)='forecast') AND ((P.Project_Number) Is Null))
GROUP BY F.Project_Number;
Marrow
SELECT F.Project_Number
FROM tblSpending AS F LEFT JOIN [SELECT Project_Number FROM tblSpending WHERE Spending_Type='forecast - previous month'; ]. AS P ON F.Project_Number = P.Project_Number
WHERE (((F.Spending_Type)='forecast') AND ((P.Project_Number) Is Null))
GROUP BY F.Project_Number;
Marrow