Repeating Field - Set Field as a batch over repeating field
I have a repeating field of dates.
I want to create a script that will fill all the repeating fields with the date starting with the first repeating field as the current date and then adding 1 day to all the following repeating fields until they are all falled with a sequence of dates.
I can do this with a sequence of Set Field inputs;
Set Field [ repeating field (1); Get(CurrentDate)
Set Field [ repeating field (2); Get(CurrentDate + 1)
Set Field [ repeating field (3); Get(CurrentDate + 2)
Is there a way to do this as a batch with just one entry and then it will go through all the interations until all the repeating fields are filled?
Any help here would be greatly appreciated.
I have FMPro Advanced 11.0 v3
OS - Windows Vista on desktop, Windows 7 on laptop