Results 1 to 2 of 2
  1. #1
    Brevik1 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Apr 2014
    Posts
    1

    Newbie question

    Hi I have taken upon myself to log all statistics for my local hockeyteam, from the beginning of dates and to the present.
    I got a functioning access-sheet from a "collegue" from another team, which has a form and a couple of sub-forms where i fill in data from the match-protocol.
    But as I startet I found that I would like to record information about penalties in addition to the other information i put in.
    I made a new table I called PenaltiesMatch, which I then put in as a sub-form with the others.
    There I put in the time of the penalty, the player who got penalized, the reason of the penalty, and the length of the penalty.

    This is how my sub-form looks like:
    Click image for larger version. 

Name:	Access.PNG 
Views:	11 
Size:	10.8 KB 
ID:	16057

    The titles is in Norwegian, and translated its like this:
    PenaltyID - MatchID - PenaltyNmbr - TimeOfPenalty - PenalizedPlayer - ReasonOfPenalty - Punishment

    So here is my question:
    I would like to pull out the following information both for the team and for the individual player. What kind of penalties is the most common, and how may of each type penalties is recorded.

    In addition (if possible) I would like to get information of how many penalties in the first period, second and third. (each period is 20 mins)



    I have tried the wizard, but no luck.
    I have also tried to copy some other queries that pulls out similar information from the other sub-forms, and change what i think need to be changed, but it doesnt work.

    It probably shows from my question, but I have only used Access for a couple of weeks, so if you have answers please try to explain in detail,

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,632
    You tried the Totals query in query builder?

    I recommend you build a report using Grouping & Sorting functionality and aggregate calcs in group and report footer sections.

    Getting all those various summations on one report will be complicated.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. newbie question
    By hannuk in forum Access
    Replies: 1
    Last Post: 12-12-2011, 07:18 AM
  2. Newbie question please help
    By Napier in forum Access
    Replies: 1
    Last Post: 11-28-2011, 09:00 AM
  3. Very Newbie Question
    By paralogical in forum Access
    Replies: 4
    Last Post: 10-11-2010, 06:55 PM
  4. Newbie question
    By webby in forum Access
    Replies: 6
    Last Post: 07-19-2010, 06:22 AM
  5. Newbie question
    By The_Dude in forum Programming
    Replies: 2
    Last Post: 12-23-2007, 07:11 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