Prevent repeats.

Support for our integrated Contact Manager, Calendar, and Project Tracker.
Posts: 65
Joined: Wed Dec 16, 2009 9:04 am
PostPosted: Mon Apr 19, 2010 6:05 pm
Hi,

I am trying to see if there is a way to block repeats on certain days. Lets say I want to keep track of when a business is closed. Then I want to create records that repeat for the whole year, but not on the closed days. How can this be done?

Oreste
SeedCode Staff
SeedCode Staff
Posts: 2764
Joined: Thu Nov 20, 2003 11:01 am
PostPosted: Tue Apr 20, 2010 8:44 am
Two methods...

1. Create the repeats as usual and then loop through them, testing each for whatever conflict you're interested in. The script "Continue Repeating Events Window - Make Events " contains a branch that can be turned on (it ships turned off) to take users to the list of repeating events as soon as they're created. You may want to turn this on so you can leave users in a list of successful repeats or show them the conflicting / offending ones.

2. You can put the test for conflict, etc. IN the create repetition script itself. Edit the script "Create events from repeat list ( DateList )" and put your test right before the Exit Loop If statement: simply delete the newly duplicated record if your test fails.

Hope that helps,

John
John Sindelar
SeedCode

Return to SeedCode Calendar

Who is online

Users browsing this forum: No registered users and 4 guests

(855) SEEDCODE
[email protected]
Follow us: