Bug Fix: Yearly Repetitions

Support, Questions and Suggestions for the FM7 Version of CC Calendar.
SeedCode Staff
SeedCode Staff
Posts: 2760
Joined: Thu Nov 20, 2003 11:01 am
PostPosted: Wed Aug 04, 2004 11:03 am
Applicable Versions

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 support@seedcode.com 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!
John Sindelar
SeedCode

Return to CC Calendar (FM7/8)

Who is online

Users browsing this forum: No registered users and 1 guest

cron
(855) SEEDCODE
support@seedcode.com
Follow us: