I am working in Access 2003 and I have a query that is the source for a chart on a form. The query has worked fine for several years but suddenly it will not populate for the month of April. There is data in the source table for April, but the query is not showing it and I can't figure out why. Nothing in the table has changed.
My SQL for the query is:
and the SQL for qryKCYrMn is:
I use a the very same query with another source table for a second chart on the same form and it works fine, no issues.
Any advice would be appreciated. Thank you.
My SQL for the query is:
Code:
SELECT qryKCYrMn.KCYearMonth AS Expr1, Sum(IIf(Format([StartDate],"yyyymm")=[KCYearMonth],1,0)) AS [# Opened], Sum(IIf(Format([ClosedDate],"yyyymm")=[KCYearMonth],1,0)) AS [# Closed]
FROM qryKCYrMn, qryKCFY12
GROUP BY qryKCYrMn.KCYearMonth
HAVING (((qryKCYrMn.KCYearMonth)>"201103"))
ORDER BY qryKCYrMn.KCYearMonth;
and the SQL for qryKCYrMn is:
Code:
SELECT Format([StartDate],"yyyymm") AS KCYearMonth
FROM KaizenCircle
GROUP BY Format([StartDate],"yyyymm");
I use a the very same query with another source table for a second chart on the same form and it works fine, no issues.
Any advice would be appreciated. Thank you.