Can I Create Repeating Events in DayBack?
Yes, you can make both multi-day events and repeating events.
I can't seem to create repeating events past 2029, is there a limit?
Yes. To prevent the accidental creation of millions of records, the calendar's repeating events script has a both a date limit and a number-of-repetitions limit. You can change both of these but they default to a date limit of no repetitions past Jan 1 2030 and a limit of 500 repetitions per event.
Change these by altering the first two variables declared in the script "Build Repetition List ( Repeat_StartDate ; Repeat_Rule )"
How do repetitions work and how can I manipulate them?
Here are some details about how we handle repetitions...
How can I make all repeating events refresh?
If you'd like the newly created repeated events to show in the calendar immediately upon closing the Event Detail window, you can instruct the calendar to do a full refresh when repeating events are created.
First, we'll want to set a new variable in the "Continue Repeating Events Window - Make events" script just before the line "Show Custom Dialog ["Repeating Events: Done";..." like this:
Next, we'll check for this variable in the "Close Event Window & Refresh Calendar script" and do a full refresh if its value is true by adding the highlighted lines in the screenshot below:
Now when creating repeat events, the calendar will do a full refresh, showing all the new events, upon closing the event window.
What if creating repetitions fails to complete?
If you're unable to complete the process of creating event repetitions as if FileMaker is stuck or in an endless loop, there are 2 issues this could be related to.
If your date format does not line up with US date formats, your DayBack file will need to be cloned in order to correct the date format settings of the file. Details and instructions for cloning the file can be found in our Date Formats documentation here.
The following note is for version of DayBack prior to 9.97 where this was fixed.
If the date format is not an issue, making the following change to the "Continue Repeating Events Window - Make Events" script should resolve the issue.
Add a Set Variable step right above the the Perform Script [ "Build Repetition List..." ] step, setting the variable $date with the value GetField ( $$sc_FieldForDateStart ). Then, modify the parameter of that Perform Script step, replacing GetField ( $$sc_FieldForDateStart ) with $date. This should allow the script to properly handle differences in date format for creating repetitions.