Repeat script N number of time with some incrementation
Hi,
I have a script I want to repeat a certain number of time, depending on a value from a variable NumberOfDelivery, and at a certain frequency depending on a variable DaysBetween (wich would afect my addday function on the last line).
Here is the basic script:
insert into Calendar_master
[
CustName=input.CustName_LKUP.CustName
CustEmail=input.CustEmail_AJO
DeliveryType="Extra Basket"
DeliveryDate=FirstDate.addDay(0)
]
Anybody can show me how to do it a number of time (variable NumberOfDelivery), and at the same time increment my addday by the number in variable DaysBetween ?
Sylvain