Results 1 to 8 of 8
  1. #1
    endwarde is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Apr 2014
    Posts
    5

    A Report to count the scores of a review

    Hello everyone. I have a report I am having trouble with putting together in my head and I hope you all can point me down the right path here.

    I have a fairly simple table I need to generate a report from. The table represents a manager's review of a certain task that his staff does. The table has a [Name] of employee, [Date] of the review and then [Question1] through [Question31] where each question is given a rating of 1-3, representing below average, average and above average. Simple enough, right?

    Now, he would like a summation report which he can specify the date range (no problem) and see, by employee, how many of each rating they have had for each question. So, for John Doe for Question1, there were 22 "1"s, 13 "2"s and 27 "3"s. You would have those results for all 31 questions. This is the part that's hurting my brain...

    How do I put this together? Every swing I take at it seems wrong. I understand I will be wanting to use a function of =Sum(IIf([Question1]="1",1,0)) to count values with, but for some reason I can't seem to get my report to not spit errors out at me when I am trying to use it.



    I am way out of practice working with reports, so I would love if someone could help me with my basic structure and give me suggestions of how to proceed.

    Thanks!
    Eric

  2. #2
    Monterey_Manzer is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jun 2012
    Posts
    164
    Hi Eric,

    I think it would be helpful if you could post what you currently have for the report's record source as an SQL statement. That way we can test it out with some fake data.

    Cheers,
    Ryan

  3. #3
    endwarde is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Apr 2014
    Posts
    5
    Hi Ryan, do you mean you just want the fields of the table listed out? (Not a SQL or VB coder really)
    Simplified (my actual names are longer and there is other data in the table that we don't need to worry about for this)

    [Table].[Key#] = The keyed number for each record
    [Table].[Date] = The date the record was entered
    [Table].[Name] = The name of the staff member the review is about.
    [Table].[Question1] = Question 1, will be answered with 1, 2, 3, or 0.
    and [Table].[Question2] through [Question31]

    Like I said, the structure is very simple. Is this what you're looking for?

  4. #4
    Monterey_Manzer is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jun 2012
    Posts
    164
    Actually I was thinking of the Report Record Source. If you have your report open in Design mode with the Property Sheet visible, you can get this string by first making sure you are viewing the Report properties (the drop down menu should say "Report") and then going to the "Data" tab. The Record Source will be the first property listed on that tab. Copy the string from there and paste it here.

  5. #5
    endwarde is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Apr 2014
    Posts
    5
    Oh, the record source... hehe.

    It's not much of a string, it's just the Query that I am pulling the data from the table with:
    qryClaimReview

  6. #6
    Monterey_Manzer is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jun 2012
    Posts
    164
    Okay so now we go open qryClaimReview and select SQL View. That should be the SQL statement I am thinking of.

  7. #7
    endwarde is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Apr 2014
    Posts
    5
    Ahhh.. I hadn't ever worked with that view before. You can ignore the "notes" fields that accompany the ClmRvwQ1 (etc...) as they aren't needed in the report.

    SELECT tblClaimReview.ClmRvwClaimNumber, tblClaimReview.ClmRvwAdjusters, tblClaimReview.ClmRvwDateLoss, tblClaimReview.ClmRvwDateReview, tblClaimReview.ClmRvwQ1, tblClaimReview.ClmRvwQ1Notes, tblClaimReview.ClmRvwQ2, tblClaimReview.ClmRvwQ2Notes, tblClaimReview.ClmRvwQ3, tblClaimReview.ClmRvwQ3Notes, tblClaimReview.ClmRvwQ4, tblClaimReview.ClmRvwQ4Notes, tblClaimReview.ClmRvwQ5, tblClaimReview.ClmRvwQ5Notes, tblClaimReview.ClmRvwQ6, tblClaimReview.ClmRvwQ6Notes, tblClaimReview.ClmRvwQ7, tblClaimReview.ClmRvwQ7Notes, tblClaimReview.ClmRvwQ8, tblClaimReview.ClmRvwQ8Notes, tblClaimReview.ClmRvwQ9, tblClaimReview.ClmRvwQ9Notes, tblClaimReview.ClmRvwQ10, tblClaimReview.ClmRvwQ10Notes, tblClaimReview.ClmRvwQ11, tblClaimReview.ClmRvwQ11Notes, tblClaimReview.ClmRvwQ12, tblClaimReview.ClmRvwQ12Notes, tblClaimReview.ClmRvwQ13, tblClaimReview.ClmRvwQ13Notes, tblClaimReview.ClmRvwQ14, tblClaimReview.ClmRvwQ14Notes, tblClaimReview.ClmRvwQ15, tblClaimReview.ClmRvwQ15Notes, tblClaimReview.ClmRvwQ16, tblClaimReview.ClmRvwQ16Notes, tblClaimReview.ClmRvwQ17, tblClaimReview.ClmRvwQ17Notes, tblClaimReview.ClmRvwQ18, tblClaimReview.ClmRvwQ18Notes, tblClaimReview.ClmRvwQ19, tblClaimReview.ClmRvwQ19Notes, tblClaimReview.ClmRvwQ20, tblClaimReview.ClmRvwQ20Notes, tblClaimReview.ClmRvwQ21, tblClaimReview.ClmRvwQ21Notes, tblClaimReview.ClmRvwQ22, tblClaimReview.ClmRvwQ22Notes, tblClaimReview.ClmRvwQ23, tblClaimReview.ClmRvwQ23Notes, tblClaimReview.ClmRvwQ24, tblClaimReview.ClmRvwQ24Notes, tblClaimReview.ClmRvwQ25, tblClaimReview.ClmRvwQ25Notes, tblClaimReview.ClmRvwQ26, tblClaimReview.ClmRvwQ26Notes, tblClaimReview.ClmRvwQ27, tblClaimReview.ClmRvwQ27Notes, tblClaimReview.ClmRvwQ28, tblClaimReview.ClmRvwQ28Notes, tblClaimReview.ClmRvwQ29, tblClaimReview.ClmRvwQ29Notes, tblClaimReview.ClmRvwQ30, tblClaimReview.ClmRvwQ30Notes, tblClaimReview.ClmRvwQ31, tblClaimReview.ClmRvwQ31Notes
    FROM tblClaimReview;

  8. #8
    endwarde is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Apr 2014
    Posts
    5
    Monterey_Manzer, is there any other info you need from me?

Please reply to this thread with any new information or opinions.

Similar Threads

  1. How to list sports scores in a database
    By chemmiah in forum Database Design
    Replies: 1
    Last Post: 11-21-2012, 03:53 PM
  2. Replies: 5
    Last Post: 05-05-2012, 10:11 AM
  3. Testing Scores
    By helpaccess in forum Queries
    Replies: 4
    Last Post: 08-22-2011, 09:08 AM
  4. Replies: 3
    Last Post: 02-04-2011, 07:32 AM
  5. Recording Test Scores and Radar Charts
    By splitz in forum Access
    Replies: 1
    Last Post: 08-19-2010, 12:34 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums