1 Reply Latest reply: Apr 3, 2012 2:42 PM by Rob Wunderlich RSS

    Problem whit month iteration (for...next)

      Hello, i need to (monthly) iterate from InitMonth to ActualMonth but this code doesn't work


      LET vActualMonth = Num(MonthStart(Today()));

      LET vInitMonth = Num(MonthStart(AddMonths(vActualMonth, -2)));



      FOR vLoopMonth = vInitMonth to vActualMonth step AddMonths(vLoopMonth, 1)








      Any help please?


      If i skip the step expression i can iterate daily but i want to get a monthly iteration.