Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index

Hi Keith,

You'll hate this, but WJFFM.

I unzipped your upload, opened it (and amended the connection details),
edited the report, and saw the field you were referring to. In the "Data
Field" I saw the value was
"=[AccumulationLOWReport]/[RecordCounter]" (without the quotes, of
course). When I ran this, I got the zero as you reported, and as
expected. So I removed the "=" from the "Data Field", so that it now
shows "[AccumulationLOWReport]/[RecordCounter]" (without the quotes, of
course), selected another field (you seem to need to do this before
running the report so that it updates the field, otherwise it still
runs with the old formula), ran the report, and got an average of
16.655. Which is what you want, I think?

If this doesn't work for you, then I have no idea what is wrong.

I'm running LO on Windows 7 64 bit.

Hope you figure it out.


On Wed, 04 Dec 2013 09:53:53 +1100
Keith Bates <> wrote:

Hi Tom

I changed the display to 3 decimal places and it still comes out as

When I put the individual fields into the footer they report
correctly, but trying to do operations with them seems to not work.

I have now tried every combination of quote marks including no
quotes, and putting an = before the formula but it just returns 0 (or

I've uploaded the database file to dropbox if anyone would like to
look at it



On 04/12/13 02:42, Tom Davies wrote:
Hi :)
Is it possible to see a lot more decimal places after the point?
Like 0.000??
or do ' [AccumulationLOWReport]'*1000/'[Rec

Can you temporarily have the 2 fields reporting separately in the
header/footer to check that they are giving sensible results in
there? Regards from
Tom :)

On 3 December 2013 10:01, Keith Bates <> wrote:
I am going crazy over a calculation I am trying to do in Report

I have a database that records weather details each day. I want to
calculate average temperatures and the like, and put this into the

The function RecordCounter counts records correctly. The function
AccumulationLOWreport sums the daily minimum temperatures. This
seems to work correctly in that I can put this in the footer and
get the sum of temperatures.

To work out the average, I put a field in the footer. In the
"Data" tab I choose "Field or Formula" and enter
[AccumulationLOWReport]/[RecordCounter] . When I run the report it
returns 0.

I have tried all of the following, with the same result
' [AccumulationLOWReport]/[RecordCounter]'
' [AccumulationLOWReport]'/'[RecordCounter]'
= [AccumulationLOWReport]/[RecordCounter]

Can someone please tell me what I am doing wrong?

God bless you
Keith Bates
4 Mooloobar St
Narrabri NSW
Ph 02 67924890

Jesus is the Way
the Truth and the Life

To unsubscribe e-mail to:
Posting guidelines + more: List archive: All messages
sent to this list will be publicly archived and cannot be deleted

To unsubscribe e-mail to:
Posting guidelines + more:
List archive:
All messages sent to this list will be publicly archived and cannot be deleted


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.