1 Reply Latest reply: Jan 3, 2012 1:49 PM by Bikash Debnath RSS

    Sum of a variable field name

      Hi Everyone,

      Wish you all a very very happier happy new year.

       

      I have a question.

      I have following fields SALESA, SALESB, SALESC and so on.

       

      Now say I have a temp table from which a variable can hold the aforementioned fieldnames in it.

      For example if an user selects SALESA from the temp table

      then the variable vSumofSales= 'SALESA'

       

      Now what I want to achieve is = Sum($(vSumofSales).

      Is it possible, if yes, then please suggest how.

       

      Many thanks in advance.

      Have a great year ahead.