Announcement

Collapse
No announcement yet.

Sum records

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Sum records

    Hi I created a form with multiple records quisera I do know how to add up the totals in each line (SumTotal) over the previous
    I have fields
    {uni}, {all}, {SumTotal}

    thanks

  • #2
    Hello.
    Programming => PHP Methods:
    {SumTotal} = {uni} + {all};
    Now you can use it in your Ajax events [All fields]:
    SumTotal();
    Scriptcase V8.1 Enterprise Edition.

    Comment


    • #3
      I sum the total in itself, not the sum total of the column.
      I show an example

      I would like the Accumulated Total out the sum of the previous.
      The example would be hoarded 24 1st line, 2nd line 47, line 60 .. 3rd

      thanks
      Attached Files

      Comment


      • #4
        Ok. use grid with group by then go to Totals and tick the fields as required.
        Scriptcase V8.1 Enterprise Edition.

        Comment


        • #5
          Worst with a grid you can not insert records

          Comment

          Working...
          X