Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic: SUM  (Read 1502 times)

Hassan

  • Newbie
  • *
  • Posts: 19
    • View Profile
SUM
« on: August 17, 2019, 03:20:54 PM »
$S{SUM($D{rep_sql.total_minus},"DataBand8")+SUM($D{rep_sql.total_plus},"DataBand8")}
How can sum these to textItems in DataFooter. Both textItems are in DataFooter,
« Last Edit: August 17, 2019, 08:36:12 PM by Hassan »

Arin Alex

  • Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 992
    • View Profile
Re: SUM
« Reply #1 on: August 18, 2019, 09:38:18 AM »
Hi!
You can try this:
Code: [Select]
$S{SUM($S{$D{rep_sql.total_minus}+$D{rep_sql.total_plus}},"DataBand8")}

Hassan

  • Newbie
  • *
  • Posts: 19
    • View Profile
Re: SUM
« Reply #2 on: August 18, 2019, 10:40:12 AM »
Thank u very much I've tried and it's work fine.