Subtract Total

When iam Substracting total Values Getting Zero

Eg : TotalDB=SUM(DEBIT)
TotalDB=Sum(CR)

Bal=TotalDB-TotalDB ( This is getting Zero Value , if iam converting to Double or Decimal it is showing like String Value
(



Comments

  • StarkStark Syria
    edited 8:42AM
    you have the same variable name ? TotalDB !!!


    May be you must try this
    ToalAfterSubtract = Sum(debit) - Sum(Cr)
    

  • edited 8:42AM
    i have used same variable, it is showing like string value. ( 155.00-255.00) not - 100
  • StarkStark Syria
    edited 8:42AM
    Ah , I got it now !


    Include expression with this things [ ]

    Like
    [Sum(Debit) - Sum(Cr)]
    


    Hope this help
  • edited 8:42AM

    Thank you Stark,

Leave a Comment