2 Replies Latest reply: May 21, 2015 5:28 AM by Jens Zibell RSS

    Modify Load statements with variables - syntax displays as error

    Jens Zibell



      I try to use the same code for a full and a partial reload. Depending on which is executed, I want to add the 'add' keyword to the load statement with a variable:


      if IsPartialReload() THEN

             TRACE Executing partial reload;

             Let vPartial = '1';

             Let vAdd = 'add';


             TRACE Executing full reload;

             Let vPartial = '0';

             Let vAdd ='';





      concatenate (UM)

        $(vAdd) LOAD * INLINE [

           UserName, DeleteDate

           LastUpdate, $(vDate)



      This is working fine, but the script editor marks the whole concatenate stuff as syntax error. Disturbing. Is there a way to bypass this?