Calculating on Query

  • Thread starter Thread starter Henderson
  • Start date Start date
H

Henderson

Hello,

I have a table "A":
A_ID
A_Date
A_Qty
A_Factor

If i wanna count "A", I use Count(A...
If I wanna Addition, I use Sum(A

How can I make multiplication of "A_Factor" in a query?
ex:
first A_Factor * second A_factor * third A_Factor ...

Regards,

Henderson
 
Add the log of A_Factor and then convert the result.

For example.

Exp(Sum(Log(A_Factor)))

If the number gets to be too large you will get an error.

--
John Spencer
Access MVP 2002-2005, 2007
Center for Health Program Development and Management
University of Maryland Baltimore County
..
 
Back
Top