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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Summing field based on data entered by user

Status
Not open for further replies.

jwn625

MIS
Sep 14, 2004
6
US
I have a query selecting records based on a predetermined join date. I'd like to sum amounts based upon a transaction date entered by the user. How can I do this?
Thanks,
jwn625
 
Create a query that accepts a date as a parameter.

SELECT MyDate, Sum(ValuesToBeSummed) As MySum FROM
tblYourTable
GROUP BY MyDate, ValuesToBeSummed



---------------------
scking@arinc.com
---------------------
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top