J
John Cello
I am trying to write a query to produce a report. Of the many fields in my
table "tblIssues", the ones I am trying to summarize are:
Restaurant [Text]
Category [Text]
Subcategory [Text]
DateOfVisit [Date\Time]
TimeOfVisit [Text]
What I am trying to do is write a query that takes a parameter from a form
for [Restaurant] and [Category] (which is working fine) will give me results
that I can use in Excel to make a bar chart. The chart will have 13 columns,
January through December, and a Total. I need to show bars for each of the
subcategories that occured each month, and a grand total at the end. I need
to extract year to date data. So I need to get a count of each subcategory
for each month.
So far, I have written enough queries in a vain attempt to get the desired
results that, if stacked, would reach Venus. I realize that this isn't going
to be a single query that returns this information. I have written queries
that count a type of subcategory for a month (12 of these) but when I try to
pull the results from these into a single query it returns nothing.
Any suggestions, ideas, examples from anyone would be greatly appreciated.
Thanks
table "tblIssues", the ones I am trying to summarize are:
Restaurant [Text]
Category [Text]
Subcategory [Text]
DateOfVisit [Date\Time]
TimeOfVisit [Text]
What I am trying to do is write a query that takes a parameter from a form
for [Restaurant] and [Category] (which is working fine) will give me results
that I can use in Excel to make a bar chart. The chart will have 13 columns,
January through December, and a Total. I need to show bars for each of the
subcategories that occured each month, and a grand total at the end. I need
to extract year to date data. So I need to get a count of each subcategory
for each month.
So far, I have written enough queries in a vain attempt to get the desired
results that, if stacked, would reach Venus. I realize that this isn't going
to be a single query that returns this information. I have written queries
that count a type of subcategory for a month (12 of these) but when I try to
pull the results from these into a single query it returns nothing.
Any suggestions, ideas, examples from anyone would be greatly appreciated.
Thanks