amount to text conversion

aliennavaliennav Member Posts: 449
Hello Everyone
Here's the case:


I am calling excise amount for all the items in an "Article Statement" report.
Now i want that items of some specific group(EXPORT) should show a string'UN BONDED' in place of the excise amount.
How can i acheive this.
what are the variable need to be declared.

Comments

  • ssinglassingla Member Posts: 2,973
    Use a variable with Data Type "Code". Write the code "on after get record" to assign the Excise amount or text "Unbonded" to the variable.
    CA Sandeep Singla
    http://ssdynamics.co.in
  • ara3nara3n Member Posts: 9,256
    Hello

    Create a text variable mytext

    Change the sourseexp of the texbox to mytext.

    Onpresection add this code

    If. "specific group" = 'EXPORT'. Then
    Mytext := 'UN BONDED'
    Else
    Mytext := format("excise amount");
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • aliennavaliennav Member Posts: 449
    Hey ara3n!


    Thanx 4 ur reply.
    It worked
Sign In or Register to comment.