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

Author Topic: SUM  (Read 3577 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: 1005
    • 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.