3 Replies Latest reply: Nov 23, 2009 6:24 PM by Martin Rast RSS

    How to reload only portions of script


      Is there a way to reload to only a portion of the entire script?




        • How to reload only portions of script

          depends exactly What you need to do,

          I put blocks of code inside blocks of:

          If 1=1 //Excute



          if 1=2 //Dont Execute


          If I just want to diable for debugging puprose a simple comment opener \* will suffice

          Dynamically running script from a server hosted document based on a variable parameter doesnt seem to be possible though ...






          • How to reload only portions of script

            Check the help for Partial Reload...


            "This command executes only load and select statements preceded by a replace or add prefix. Other data tables remain unaffected by the command."

            So, it will only execute the load and select commands for those commands marked by the replace and add prefixes, and does not load any other data. A full load executes both sets of commands.

            This is useful for when you have lots of data and only want to reload the changed portion of that data, say for 6 years of sales data when you have loaded the previous years and want to partial load the current year.

            Or are you talking about variable evaluation as well?