1 Reply Latest reply: Nov 11, 2011 4:24 AM by Sunil Chauhan RSS

    How to evaluate a table value inside the load script?

      I have to load data from two different sources. The selection of the datafor the second source shall be limited by the min and max value of the firstload command. In real live the selection of the data of the second table willbe done by a date interval. In my example I try to evaluate the min and maxvalued of an integer field.

       

      Peek works fine but Min and Max do always return <NULL>

       

       

       

      TT:

      LOAD * INLINE [

          Zahl

          8

          1

          2

          3

          4

          2

      ];

       

      let iFirst=Peek('Zahl',0, 'TT');

      let iLast=Peek('Zahl');

       

      let iMin=Min(Zahl);

      let imax=Max(Zahl);