T
Trey Guy
I have an ASP page I use as a front end to an Access db. I am running a
query from that page that is returning a "Too few parameters..." error. The
query works fine in Access. I have checked all field names and they are
correct. The SQL is below. Any ideas as to the cause of this error?
Thanks,
Trey
SELECT qryParticipantOutcomesAggregate.IndID, Indicators.IndName,
Sum(qryParticipantOutcomesAggregate.NEligible) AS SumOfNEligible,
Sum(qryParticipantOutcomesAggregate.NAchOut) AS SumOfNAchOut,
[SumOfNAchOut]/[SumOfNEligible] AS PAchOut, Indicators.Target FROM
Indicators RIGHT JOIN qryParticipantOutcomesAggregate ON Indicators.IndID =
qryParticipantOutcomesAggregate.IndID WHERE ((ProgID=17) And
((qryParticipantOutcomesAggregate.AggMonth) Between #01/01/1995# And
#01/01/2010#)) GROUP BY qryParticipantOutcomesAggregate.IndID,
Indicators.IndName, Indicators.Target;
query from that page that is returning a "Too few parameters..." error. The
query works fine in Access. I have checked all field names and they are
correct. The SQL is below. Any ideas as to the cause of this error?
Thanks,
Trey
SELECT qryParticipantOutcomesAggregate.IndID, Indicators.IndName,
Sum(qryParticipantOutcomesAggregate.NEligible) AS SumOfNEligible,
Sum(qryParticipantOutcomesAggregate.NAchOut) AS SumOfNAchOut,
[SumOfNAchOut]/[SumOfNEligible] AS PAchOut, Indicators.Target FROM
Indicators RIGHT JOIN qryParticipantOutcomesAggregate ON Indicators.IndID =
qryParticipantOutcomesAggregate.IndID WHERE ((ProgID=17) And
((qryParticipantOutcomesAggregate.AggMonth) Between #01/01/1995# And
#01/01/2010#)) GROUP BY qryParticipantOutcomesAggregate.IndID,
Indicators.IndName, Indicators.Target;