Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dsum in report with criteria

Status
Not open for further replies.

jeffshex

Technical User
Joined
Jun 30, 2005
Messages
208
Location
US
Is there anyway to have the Dsum in a report look at the header section for the unique ID?
Something like this: Dsum("[Payment]","tblPayments", "[YouthID]= reports!YouthID")

I'm not sure how to do that last part.
Ideas?
 
Dsum("[Payment]","tblPayments", "[YouthID]= " & reports!YouthID)

Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244. Basics at
 
Thank you. That got me in the right direction.
Ended up being:
Dsum("[Payment]","tblPayments", "[YouthID]= " & YouthID)

That worked just like I needed.
Thanks again!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top