J
Jared
Hey guys,
I am trying to create a baseball league database for a league I run. I have
run into a problem as I cannot find the right command to count the number of
times in the Score Query that a specific team has won.
I have 1 table that I am using for the team names and details
I have 1 table that I am using for the schedule and scores with a lookup
relationship to the team name table.
I am using a query on the schedule and scores and calculates the winning
team and losing team based on the scores.
I need to figure out how to run a query or report that will count the number
of times a specific team is listed in the Winner section and loser section so
I can create a standings list.
I think I am looking how to build the expression to count the number of
times winner = team name and output that value..
this is the formula I am work with in my report :
=Sum(Abs("[2009 Schedule and Score Calculation]![WinnerTest]"="[Team Name]"))
Please find the links to two pictures of my database to help out.
http://s82.photobucket.com/albums/j...iew¤t=CompleteScheduleReportwscores.jpg
http://s82.photobucket.com/albums/j...ew¤t=ScheduleScoresAddandEditScreen.jpg
I am trying to create a baseball league database for a league I run. I have
run into a problem as I cannot find the right command to count the number of
times in the Score Query that a specific team has won.
I have 1 table that I am using for the team names and details
I have 1 table that I am using for the schedule and scores with a lookup
relationship to the team name table.
I am using a query on the schedule and scores and calculates the winning
team and losing team based on the scores.
I need to figure out how to run a query or report that will count the number
of times a specific team is listed in the Winner section and loser section so
I can create a standings list.
I think I am looking how to build the expression to count the number of
times winner = team name and output that value..
this is the formula I am work with in my report :
=Sum(Abs("[2009 Schedule and Score Calculation]![WinnerTest]"="[Team Name]"))
Please find the links to two pictures of my database to help out.
http://s82.photobucket.com/albums/j...iew¤t=CompleteScheduleReportwscores.jpg
http://s82.photobucket.com/albums/j...ew¤t=ScheduleScoresAddandEditScreen.jpg