Page 1 of 1

Another Conflict-related problem

PostPosted: Wed Sep 12, 2007 6:36 pm
by jimrecht
Hi John:
I have my version of SeedCode Complete set to show conflicts. I generally schedule appointments in 15 minute intervals (in fact, have modified the ApptTimeEnd field to equal ApptTimeStart + (15*60) by default). But my Daily view shows a conflict when I have one appointment at 2:00-2:15 and a second appointment at 2:15-2:30. I thought that it was not supposed to show a conflict unless the appointments overlapped by more than one minute. Could I have messed something up here?

Yours,
Jim Recht

PostPosted: Fri Sep 14, 2007 7:49 am
by John Sindelar
I saw your post and wanted to come up with something better than "schedule the first one to end a minute sooner". The conflict logic is pretty complicated so I'm looking at a change that would rectify this, but editing your duration calc might be simpler.

PostPosted: Fri Sep 14, 2007 8:29 am
by jimrecht
While using the last version of SeedCode Calendar, I didn't have this problem. Does SeedCode Complete contain a different set of time/conflict calcs?

PostPosted: Fri Sep 14, 2007 9:10 am
by John Sindelar
Yes, we've changed these calsc in Complete.

If you want to change the conflict calcs so that items starting and ending at the same times don't conflict (so that an appointment from 9am to 10am doesn't conflict with one from 10am to 11am), make the following changes to two calcs in the appointments table:

Change z_ApptConflictTimeRange_k_Calc1 to:

SeedCode_TimeStampRangeLeftHand ( ApptDateStart_k ; ApptTimeStart +1 ; ApptDateEndCalc_k ; ApptTimeEndCalc -1 )

And change z_ApptConflictTimeRange_k_Calc2 to:

SeedCode_TimeStampRangeRightHand ( ApptDateStart_k ; ApptTimeStart + 1 ; ApptDateEndCalc_k ; ApptTimeEndCalc - 1 )

Hope that helps.

PostPosted: Fri Sep 14, 2007 9:37 am
by jimrecht
Wow! I get it. Will do. Thanks John!