SELECT tblPlayer.PPlayerId, tblPlayer.PPlayer, Sum(qryGameScore.QPoints) AS Total FROM tblPlayer INNER JOIN qryGameScore ON tblPlayer.PPlayerId=qryGameScore.GPlayerId GROUP BY tblPlayer.PPlayerId, tblPlayer.PPlayer;
I would like the names of the players to be displayed in order ie: the person with the most points at the top of the list and a number listing them at the side. I hope this makes it clearer.
Use the sorting and grouping dialog to sort your records. Then add a text box to your detail section:
Control Source: =1
Running Sum: Over All
Duane MS Access MVP
[green]Ask a great question, get a great answer.[/green] [red]Ask a vague question, get a vague answer.[/red]
[green]Find out how to get great answers faq219-2884.[/green]
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.