Error message on Where statement

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



I seem to be missing something here.

Error Message:
"The SELECT statement includes a reserved word or an argument name that is
misspelled or missing, or the punctuation is incorrect."

The SQL:
PARAMETERS [Enter Start Date] DateTime, [Enter End Date] DateTime;
SELECT [Enter Start Date] AS StartDate, [Enter End Date] AS EndDate,
Count(*)([Monthly Reports]![Resolved by or last Assigned]) AS [Total Episodes
Resolved]
WHERE ((([Monthly Reports].[Opened]) Between [Enter Start Date] And [Enter
End Date]))
GROUP BY ([Monthly Reports]!Resolved by or last Assigned);

When OK is clicked on the error message, the word WHERE is highlighted.

Name of TABLE: "Monthly Reports"
Date range shown in: "Opened" Field
GROUP BY is users, shown in: "Resolved by or last Assigned" Field.

Purpose of Query: Count the number of episodes, within a specific date
range and sort by user.

Any help would be appreciated.

.



Relevant Pages

  • Re: Error message on Where statement
    ... in the select are not using an aggregate function ... "The SELECT statement includes a reserved word or an argument name that is ... When OK is clicked on the error message, ... Name of TABLE: "Monthly Reports" ...
    (microsoft.public.access.queries)
  • RE: Error message on Where statement
    ... Good Luck ... "The SELECT statement includes a reserved word or an argument name that is ... When OK is clicked on the error message, ... Name of TABLE: "Monthly Reports" ...
    (microsoft.public.access.queries)
  • RE: Error message on Where statement
    ... Okay, I've got the query running, but instead of giving me the user names ... "The SELECT statement includes a reserved word or an argument name that is ... When OK is clicked on the error message, ... Name of TABLE: "Monthly Reports" ...
    (microsoft.public.access.queries)
  • Re: [opensuse] Problem opening Firefox
    ... that states "Your Firefox profile cannot be loaded. ... .mozilla is missing in /home/tom. ... showing the error message and when OK is clicked the message box ... openSUSE 11.4 x86_64 openSUSE 12.1 ...
    (SuSE)
  • Re: Win2k Boot Problem
    ... Can you post the exact text of the error message? ... "It says a file is missing or corrupted" ... | contain one or more unrecoverable problems. ...
    (microsoft.public.win2000.general)