As along as the Weeks table exist with the fields that you have stated you can do the following.
Select the option for a new query.
When prompted for a new table click cancel.
At this point you should have an empty query screen.
Select view and SQL View.
Cut and paste your query.
Now switch back to design view.
If everything is correct the QBE (Query By Example) grid will be filled in based on your SQL statement.
Use the SQL statement in answers allows the forum members to not have to try to step someone through how to use the QBE which can be cumbersome depending on how complex a query is.
Are you attempting to count the number of records in the table "Weeks" where a field named "Days" has the value "Tuesday"?
SELECT Count(Days) AS (Total Days)
FROM Weeks
WHERE ="Tuesday";
If my WAG is wrong, please provide a better description of your request.
Duane
MS Access MVP
Find out how to get great answers faq219-2884.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.