Hi every one, I really can do with some help here for i'm a bit lost,
My code below should count the days between the date pickers. After that it should patch new items in the sharepointlist for as many days counted in the sequence. The only thing is: It does not add 1 day to the variable "VarEersteZaterdag" every time it runs over the patch. Below my code:
ForAll(
Sequence(
DateDiff(DatePicker1.SelectedDate;DatePicker2.SelectedDate));
Patch(MonteurPlanning;Defaults(MonteurPlanning);
{
Title: VarNieuweMonteur.Title;
XXFocusDatum: DateAdd(VarEersteZaterdag;Value(1);TimeUnit.Days)
}
)
)
Hope you can help me on my way. Thanks in advance
Kind regards Garjet