DCount in a query
How can i sum up all the fields in the query? My query consists of the table products.The first field is Productid, the second is ProductName. The next fields are the quantities available in the different cities.So the are : reg0.reg1,reg2,reg3,reg4, etc.The last field is reg10.How can i sum up all the quntities? So the filed reg which is blank, must consist reg0+reg2+reg3 etc.I think i must use the Dcount function but how to combine it with the fields?
How can i sum up all the fields in the query? My query consists of the table products.The first field is Productid, the second is ProductName. The next fields are the quantities available in the different cities.So the are : reg0.reg1,reg2,reg3,reg4, etc.The last field is reg10.How can i sum up all the quntities? So the filed reg which is blank, must consist reg0+reg2+reg3 etc.I think i must use the Dcount function but how to combine it with the fields?