3 Replies Latest reply: Mar 9, 2013 1:20 PM by Grace Rashmi RSS

    How to call the function from straight table

      Hi,

       

      I have written a function to calculate the performance bounce.

       

       

       

      function Partner_policy( rt , ctr)

       

      dim temprt
      dim tempctr

       

      temprt=rt
      tempctr=ctr
      temp

       

      if (temprt<80 and tempctr<65) then
      temp=temprt

       

      elseif ((temprt>=80 and temprt<85) and ctr<65) then
      temp=70
      elseif ((temprt>=85 and temprt<90) and ctr<65) then
      temp=75
      end if

       

      Partner_policy=temp
      end function

      Now i the rt & ctr loaded in straight table. so i want this performance bounce to be loaded in straight table can anyone help me in this.

      Regards,

      Grace Rashmi