4 Replies Latest reply: Nov 28, 2013 1:13 AM by Sokkorn Cheav RSS

    How to make 4 part of my script into 1 ? for easy maintenance

      Hi All

       

      My diamension 1 to 4 have 30 items for user selection.

       

      I have to duplicate my script 4 times. and when i change i need to change at 4 part. it there a sample approach ? ( Notice that the only different is 1 2 3 4.

       

      Sample of my code as below :-

       

      WhatIfDimension:

      LOAD * INLINE [

          Pls select 1st Dim,Column1

        Desc,GL_DESC

        Code,GL_CODE

        company,company

        ];

       

       

      WhatIfDimension:

      LOAD * INLINE [

          Pls select 2st Dim,Column2

        Desc,GL_DESC

        Code,GL_CODE

        company,company

        ];

       

       

       

       

      WhatIfDimension:

      LOAD * INLINE [

          Pls select 3st Dim,Column3

        Desc,GL_DESC

        Code,GL_CODE

        company,company

        ];

       

       

       

       

      WhatIfDimension:

      LOAD * INLINE [

          Pls select 4st Dim,Column4

        Desc,GL_DESC

        Code,GL_CODE

        company,company

        ];