There is a summery query named 'PERITONITIS STATS Query
It is based on another query named 'qryPD STATS'
The summary query has two fields:
First field is sum of all the TOTALDAYS from the qryPD STATS divided by
30: Sum Of TOTALDAYS: Sum([qryPD STATS].[TOTALDAYS]) Mod 30
Second field is sum of PERITONITIS PER MONTH from the qryPD STATS
Third field is the calculated field I need and the calculation is the
above second field divided by the first field. The expression I wrote for
that is as follows: Expr3: Sum([qryPD STATS].[PERIT PER PT MONTH]) Mod [Sum
OF TOTALDAYS]
Expected answer is 6 / 29 expressed in decimals.
But I get an answer now as 4!
(On my previous post the expression was written slightly different and
was giving me an answer 1. I have discarded that since. And my question at
that time really was is there is anything I need to do when designing a query
that will allow answers in fractions and decimal?)
Thank you Duane
Leo
Duane Hookom said:
Can you share your expression or are you going to make us guess?
Can you share your data types?
Can you tell use where it "shows up as 1"?