Print Page | Close Window

Determine Event Recurrence

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Calendar
Forum Description: Topics Related to Codejock Calendar
URL: http://forum.codejock.com/forum_posts.asp?TID=11572
Printed Date: 07 October 2024 at 7:21am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Determine Event Recurrence
Posted By: JasonG
Subject: Determine Event Recurrence
Date Posted: 24 July 2008 at 1:30pm
Once I add a new event, is there a simple property that can tell me if the event is set to be recurring or not?  Also, when an event is edited and recurrence is added or removed, how do I know?

RecurrenceState does not seem to be the property I need.





-------------
Product: Xtreme SuitePro (ActiveX) 12.0.1
Platform: Windows Vista/XP
Language: Visual Basic 6.0 SP6



Replies:
Posted By: mkhadem
Date Posted: 29 July 2008 at 4:01pm
Try this one:
 
If Not pEvent.RecurrencePattern Is Nothing Then
If pEvent.RecurrencePattern.Exceptions.Count > 0 Then
   For Each excEvent In pEvent.RecurrencePattern.Exceptions
      If excEvent.RExceptionDeleted Then
         ' Do your code here
      End If            
    Next
End If
Else
' You have no recurrence Pattern
End If
 
I hope it helps
Mo



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net