dcount syntax

  • Thread starter Mitchell_Collen via AccessMonster.com
  • Start date
M

Mitchell_Collen via AccessMonster.com

Help please. I am trying to count ratings in a report such as:

handout ratings
count total 1s
count total 2s
count total 3s


here is may query:

SELECT workshopID,workshopname, name, dateFrom, dateTo, Contentrating,
Handoutrating, evaluation.[Comments for Content], evaluation.[Comments for
Handout], evaluation.[How may we improve], evaluation.[Describe how it helps]
FROM Lots of tables..
WHERE (((workshop.workshopname)=[workshopname?]));

Please tell me how to do this, i tried a dcount but i am unsure of the syntax.
also is there a select clause also that i need to add to properties in report?



-Misty
 
G

Guest

You might want to remove the parameter query and reference a control on a
form. Then create a totals query like:
SELECT Handoutrating, Count(*) as NumOf
FROM [Lots of tables]
WHERE Workshopname= Forms!frmYourForm!cboWSName
GROUP BY Handoutrating;

Then create a subreport based on this query and add it to the existing
Report Footer section.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top