Appointment Conflicts |
Post Reply |
Author | |
mybsys
Groupie Joined: 06 April 2006 Status: Offline Points: 10 |
Post Options
Thanks(0)
Posted: 26 June 2007 at 11:50pm |
I have several clients that want to be notified if the appointment being created conflicts with an existing appointment. If I'm creating a single appointment it's not a big deal... the problem comes in when they try to create a recurring appointment. They have the option to create daily, weekly, or monthly appointments and I need to somehow create the appointments in memory then check for existing appointments that fall between the ranges.
Has anyone crossed this bridge that can help me. Thanks! |
|
sserge
Moderator Group Joined: 01 December 2004 Status: Offline Points: 1297 |
Post Options
Thanks(0)
|
Hi,
You can use DataProvider.RetrieveDayEvents to get day events and check whether are some events intersected. Run a loop for each day in a period which you'd like to test, and check its events for intersections. Also for next versions we may add folowing helper functions to get recurrence event instances for a requested period: GetOccurrences(DateTime dtFrom, DateTime dtTo) as CalendarEvents GetOccurrencesDates(DateTime dtFrom, DateTime dtTo) as CalendarDatesArray They internally exist, but not exported yet. -- WBR, Serge |
|
mybsys
Groupie Joined: 06 April 2006 Status: Offline Points: 10 |
Post Options
Thanks(0)
|
Can you tell me when this functionality will be available? I checked the 9/14/07 release and it isn't listed.
|
|
mybsys
Groupie Joined: 06 April 2006 Status: Offline Points: 10 |
Post Options
Thanks(0)
|
I've been a long time user of the calendar control and i'm still having problem with conflicting appointments from a recurring event.
Any progress on the new functions to get recurrences? GetOccurrences(DateTime dtFrom, DateTime dtTo) as CalendarEvents GetOccurrencesDates(DateTime dtFrom, DateTime dtTo) as CalendarDatesArray |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |