DSum in report

Dulux

New member
Local time
Today, 12:34
Joined
Jan 1, 2008
Messages
4
On a main form [Frm1] I have a combobox [CmbProduct] with three choices in the row source: "product a", "product b", "productc". Also one field [txtvolume].
I want the total sum volume of each product displaid in the report.
Ie. Product a "total"
Product b "total" etc.
On the report page in the header section are three textboxes one for each product, with the control source :
=DSum([txtvolume],[table1],[txtproduct]="product a")
when I run the report asking me to enter parameter values.
Any ideas?
 
Thanks for your reply, tried various options, if I don't get a syntax error I get "enter parameters". Still working on it.
 
Post what you've got if you get stuck, along with the error. The parameter prompt would most likely result from a misspelled table/field name.
 

Users who are viewing this thread

Back
Top Bottom