I've created a database of equipment we keep in a vault. Every so often the boss wants a count of items by model. I would like to create a button on the switchboard that can bring up this count for him.
First I have created a query which will count by model. The SQL of that query is here:
SELECT Count(*) AS Expr1
FROM [Count Query]
WHERE ((([County Query].[Model]) Like "nnn"));
(nnn is the model number I will want and will have a diff query for each model.)
Now, I'm trying to get these into a form for the boss to simply click. When I do, I get the #Name? error. What am I doing wrong here?
This is my first foray into Counts and such. Anyone with a better way of handling this, please let me know.