Totals

Hi

I have a report that is a invoicelist.
In the end of this page i want to have the total of all on each page.

When i use the Totals and then uses the Sum, it taks and put all the numbers after each other, like this: 320320320320, this is 320 four times, and it should be the total of this.
If i uses the function Count, it works, it show 4, and the same for Max, Min and Average, but not for Sum.

Sorry for my bad english, but i hop someone understand what i meen [img]style_emoticons/<#EMO_DIR#>/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /> Best regards Ken[/img]

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 11:16AM
    make sure the display setting of the memo is correct and also that the
    aggregate expression has the correct flag after the bandname.
  • edited 11:16AM
    And yet make sure that a query gives you a numeric value instead of string/char for the column (memo) you want to sum.

    Count ignores the type of ANY query."columnname".
    Min and Max always work by comparing two values and taking only one of them (the same is for string values).

    I'm not sure how Avg works (may someone tell us about it) :-)

    But the result you've described (Sum(...) ) seems to be like concatenation of string values;

    Mick

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.