Adding zeros conditional

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Adding zeros conditional

  • Creator
    Topic
  • #50832
    Yamil Velez
    Participant

      Hi all

        Can I do an if command in an xlate to stop the following code from adding zeros to an empty field or is this something I need to do in a TCL proc.

      set tmp2 [format “%05s” [lindex $xlateInVals 0]];set xlateOutVals

        and how would you do it?

        Thanks

        Yamil

    Viewing 1 reply thread
    • Author
      Replies
      • #67703

        Yamil Velez wrote:

        Hi all

        -- Max Drown (Infor)

      • #67704
        Yamil Velez
        Participant

          Thank you Max

           It work, I also taught me how to use a if command in TCL proc.  

          Thanks again

          Yamil

      Viewing 1 reply thread
      • The forum ‘Cloverleaf’ is closed to new topics and replies.