T
Tim Smith
I have a query that is prompting me twice for parameters. The weird thing is,
it doesn't happen when I paste this into a new query.
But after I run it a couple of times and edit it, I get prompted twice. I've
checked the Parameters (Query -> Parameters) and there is nothing there.
Any idea what the problem is? The query returns the same result set for one
set of parameter prompts as when it with two.
SELECT tblProj.ProjName, tblFiscalCalendar.FiscalYear,
Sum(tblComponentDetail.HrsWorked) AS SumOfHrsWorked
FROM tblFiscalCalendar, tblProj INNER JOIN tblComponentDetail ON
tblProj.ProjID = tblComponentDetail.ProjID
WHERE (((tblFiscalCalendar.FiscalQtrNum) Between [Quarter Start] And
[Quarter End]) AND ((tblComponentDetail.DateWorked) Between
[tblFiscalCalendar].[FiscalStartDate] And
[tblFiscalCalendar].[FiscalEnddate]) AND
((tblFiscalCalendar.FiscalYear)=[Fiscal Year]))
GROUP BY tblProj.ProjName, tblFiscalCalendar.FiscalYear
ORDER BY tblProj.ProjName;
Thanks
it doesn't happen when I paste this into a new query.
But after I run it a couple of times and edit it, I get prompted twice. I've
checked the Parameters (Query -> Parameters) and there is nothing there.
Any idea what the problem is? The query returns the same result set for one
set of parameter prompts as when it with two.
SELECT tblProj.ProjName, tblFiscalCalendar.FiscalYear,
Sum(tblComponentDetail.HrsWorked) AS SumOfHrsWorked
FROM tblFiscalCalendar, tblProj INNER JOIN tblComponentDetail ON
tblProj.ProjID = tblComponentDetail.ProjID
WHERE (((tblFiscalCalendar.FiscalQtrNum) Between [Quarter Start] And
[Quarter End]) AND ((tblComponentDetail.DateWorked) Between
[tblFiscalCalendar].[FiscalStartDate] And
[tblFiscalCalendar].[FiscalEnddate]) AND
((tblFiscalCalendar.FiscalYear)=[Fiscal Year]))
GROUP BY tblProj.ProjName, tblFiscalCalendar.FiscalYear
ORDER BY tblProj.ProjName;
Thanks