Total

edited July 2017 in FastReport VCL 5
Hello,

Please my english is no well.

I use fastReport 5 with Delphi 7.

In picture Calcule_Sum, i show you how i process to have a sum. In picture Report_show, i have the result.

Please

Comments

  • PolomintPolomint Australia
    edited 6:35AM
    G'day Bilanga,

    Some questions.

    - What number were you expecting?
    - What values are typical for [montant_debit]?
    - "debit" suggests you are processing amounts of money, what format have you set on the field?
    - Is the same calculation used in your GroupFooter1 and GroupHeader1?
    - If so, does the calculation work in one and not the other?


    Salut, Paul
  • edited 6:35AM
    Thanks,

    I expect the total of group for the first question

    Second, [montant_debit] is integer or number, in fast is a anoumt.
    Yes is the same calculation that i use for GroupFooter1 and GroupHeader1.

    The calculation doesn't work.

    Thanks.
    Polomint wrote: »
    G'day Bilanga,

    Some questions.
    - What number were you expecting?
    - What values are typical for [montant_debit]?
    - "debit" suggests you are processing amounts of money, what format have you set on the field?
    - Is the same calculation used in your GroupFooter1 and GroupHeader1?
    - If so, does the calculation work in one and not the other?

    Salut, Paul
  • gpigpi
    edited 6:35AM
    Try to use
    [StrToFloat(VarToStr(<montant_debit>))]

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.