4 Replies Latest reply: Sep 17, 2013 3:48 AM by Antoine Frangieh RSS

    Create Fields using IterNo()

    Antoine Frangieh

      Hi,

       

      I am trying to generate the hours of the day within the load script.

       

      LET b = Chr(91)&'Hour '&Iterno()&Chr(93)

       

      LOAD

      ( - 1 + IterNo()) as $(b)

      While IterNo() <24;

      LOAD *

      Resident Table;

       

      It is not giving me one record with 24 fields, but 24 records.

      Can someone advise how to rectify this situation?

       

      Thanks,

       

      Antoine