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!

USING DSUM IN REPORT

Status
Not open for further replies.

desikan

Technical User
Feb 2, 2001
105
AE
I have a table with following fields : "TYPE","NAME","QUANTITY". Data is available with similiar/dissimiliar types,names and quantities.

I am making a report with grouping based on "type" and under that, another grouping based on "name" and I want the quantities under each name for a particular type to be totalled.

I am using a unbound text box pointing to =DSum("[QUANTITY]","TABLE")and I have placed this text box in the "Name header".

But I am getting the total sum of all quantities for each name field ignoring the type and name grouping.

Extremely grateful for any help.

Desikan
 
Well I found answer to my own query. I was using wrongly "DSUM" function instead of "SUM" function.

I used =Sum([QUANTITY]) and I am getting ok

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top