Help With ReportField - ReportField

2 posts, 0 answers
  1. Mark
    Mark avatar
    1 posts
    Member since:
    Oct 2014

    Posted 03 Nov 2014 Link to this post

    I have a report which contains the following fields:
    TotalAdmin (Invoice Total)
    tmpInvoicePaymentAmount (Payment Total)

    In textBox25 have the following Expression =Sum(Fields.TotalAdmin)
    In textBox26 have the following Expression =Sum(Fields.tmpInvoicePaymentAmount)

    I need to have textBox27 = textBox25 - textBox26

  2. Nasko
    Nasko avatar
    941 posts

    Posted 06 Nov 2014 Link to this post

    Hello Mark,

    In case the described text boxes are in the same data scope, you can use the following expression to calculate textBox27's value:

    = Sum(Fields.TotalAdmin) - Sum(Fields.tmpInvoicePaymentAmount)

    If the text boxes are contained in different scopes you may need to use the Exec(scope, expression) data function.


    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

Back to Top