hockeyfan21
Registered User.
- Local time
- Today, 02:16
- Joined
- Aug 31, 2011
- Messages
- 38
Cannot figure out why this won't work. Tried looking at several DSum examples but either get an error or no data at all.
I have a report grouped on "Initiative Nm". The "Initiative Nm" text box is under the Initiative Nm header. I placed a text box in that same header area with a DSum calculation as follows:
=DSum("[On Order Qty]","qryDC_Demand","[Initiative Nm]= [Initiative Nm]")
Instead of giving me the total of the inidividual Initiative Nm in the header, it is giving me the total of all combined.
Initiative Nm1 - 7,047,452 (s/b 45,678)
Initiative Nm2 - 7,047,452 (s/b 25,098)
Any ideas on what I might be doing wrong? The report is based on a separate query. Thank you!!
I have a report grouped on "Initiative Nm". The "Initiative Nm" text box is under the Initiative Nm header. I placed a text box in that same header area with a DSum calculation as follows:
=DSum("[On Order Qty]","qryDC_Demand","[Initiative Nm]= [Initiative Nm]")
Instead of giving me the total of the inidividual Initiative Nm in the header, it is giving me the total of all combined.
Initiative Nm1 - 7,047,452 (s/b 45,678)
Initiative Nm2 - 7,047,452 (s/b 25,098)
Any ideas on what I might be doing wrong? The report is based on a separate query. Thank you!!