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 3:53AM
    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 3:53AM
    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 3:53AM
    Try to use
    [StrToFloat(VarToStr(<montant_debit>))]

Leave a Comment