CC Calendar Pro running under FileMaker 7.
Introduction
Version 5.31 of the Pro Calendar for FileMaker 7 fixed a bug in the creation of yearly repeating events. Prior to this fix, repeating items would eventually begin repeating on the 1st of the selected month(s) instead of on the correct date.
Below you'll find instructions for how to make the necessary modifications to your copy. Licensed users of CC Calendar Pro for FileMaker 7 may email [email protected] to request a copy of 5.31 containing these repairs.
The Modifications
You'll be editing the Create Repetitions script in CCCalendar.fp7 (this is one of the last scripts in the file). This script is frequently commented; reading up from the bottom of the script, find the comment "Establish Next Date".
Note that this comment is in the script twice: we want the last instance of it- the one nearest the bottom of the script.
This comment is followed by a SetField command. The calculation for this SetField contains a choose statement, the last 4 lines of which apply to the year as shown below:
- Code: Select all
//Year
Date ( 1 ; 1 ; Year ( CalendarDaily::CalRepeatDateGlob) + CalendarDaily::CalRepeatEveryNumberGlob ) ; // Go to the specifc day of January X years from Date
)
You'll want to change replace those four lines with these:
- Code: Select all
//Year
Date ( 1 ; Day ( CalendarDaily::CalRepeatDateGlob ) ; Year ( CalendarDaily::CalRepeatDateGlob ) + CalendarDaily::CalRepeatEveryNumberGlob ) ; // Go to the specifc day of January X years from Date
)
That's it!