Report with complex data points

G

Guest

I have a report that shows stats for my basketball team. I would like to be
able to put a section at the bottom that shows averages per year. The report
is sorted by player and year. I can subtotal by year in the detail of the
report by not in the player footer. Is there a way around this. My intial
thought was to use the dsum function but I only know how to use that function
with a specific player

=DSum("[TURN OVERS]","[13u statistics]","[Player] = 'majic johson'"). This
will not work in the footer of a report because it will return the player
selected not the one related to the detail.
 
D

Duane Hookom

I would probably create a subreport and add it to your main report. However,
if you want to use DSum(), try:
=DSum("[TURN OVERS]","[13u statistics]","[Player] = """ & [PlayerField] &
"""")
 
G

Guest

thank you

Duane Hookom said:
I would probably create a subreport and add it to your main report. However,
if you want to use DSum(), try:
=DSum("[TURN OVERS]","[13u statistics]","[Player] = """ & [PlayerField] &
"""")

--
Duane Hookom
MS Access MVP
--

shayler said:
I have a report that shows stats for my basketball team. I would like to
be
able to put a section at the bottom that shows averages per year. The
report
is sorted by player and year. I can subtotal by year in the detail of the
report by not in the player footer. Is there a way around this. My
intial
thought was to use the dsum function but I only know how to use that
function
with a specific player

=DSum("[TURN OVERS]","[13u statistics]","[Player] = 'majic johson'").
This
will not work in the footer of a report because it will return the player
selected not the one related to the detail.
 

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