It looks like you typed that last bit in. Rather let Access do it for you. Remove that line, go to Design view and click on the Totals icon. Then you will see what to fill in.
A few things:
1. When using Aggregate Queries, every field in your SELECT clause must either be "GROUPED" (show up in the "GROUP BY" clause), or have an Aggregate Function applied to it (i.e. SUM, MAX, etc).
So you have three fields in your SELECT clause that you need to do something with.
2. ORDER BY comes at the very end, after the GROUP BY clause.
Oops! The "Count" design view is by mistake and should not have been included.
Oops! The "Count" design view is by mistake and should not have been included.
I'll take the SQL generated by the query design and make the appropriate substitutions for "TDate" and "TTypeID" in code and set the RowSource for the combo box.
Thanks for the help,
Bill