S Savvoulidis Iordanis Sep 30, 2004 #1 Just as we use sum([price]), I'd like something like : Product([field1]) TIA
M Michel Walsh Sep 30, 2004 #2 Hi, SELECT EXP(SUM(LOG( field1) ) ) FROM mytable WHERE field1 >0 Hoping it may help, Vanderghast, Access MVP
Hi, SELECT EXP(SUM(LOG( field1) ) ) FROM mytable WHERE field1 >0 Hoping it may help, Vanderghast, Access MVP
G Guest Sep 30, 2004 #3 I could create a function in a module: Function Product ( aID as Long ) as String ... End Function but, if you put this in queries or continuous forms , it will slow it down a lot. Mauricio Silva
I could create a function in a module: Function Product ( aID as Long ) as String ... End Function but, if you put this in queries or continuous forms , it will slow it down a lot. Mauricio Silva
S Savvoulidis Iordanis Oct 1, 2004 #5 Excuse me, again please... but how did this came up to you? I think I'll reopen my maths books...
M Michel Walsh Oct 1, 2004 #6 HI, The idea is that we can multiply by adding the log of the numbers, and at the end, take the anti-log to get back the result: a * b = exp( log(a) + log(b) ) a ^ n = exp( log(a) * n ) Hoping it may help, Vanderghast, Access MVP
HI, The idea is that we can multiply by adding the log of the numbers, and at the end, take the anti-log to get back the result: a * b = exp( log(a) + log(b) ) a ^ n = exp( log(a) * n ) Hoping it may help, Vanderghast, Access MVP