Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Calendar
  New Posts New Posts RSS Feed - Create/UpdateRecurrence break event starttime
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Create/UpdateRecurrence break event starttime

 Post Reply Post Reply
Author
Message
brianleahy View Drop Down
Newbie
Newbie
Avatar

Joined: 01 November 2013
Location: Cleveland, Ohio
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote brianleahy Quote  Post ReplyReply Direct Link To This Post Topic: Create/UpdateRecurrence break event starttime
    Posted: 21 April 2014 at 4:26pm
I'm using powerbuilder, and trying to add recurrence.
 
I've observed the following:
 
First, when I call event.CreateRecurrence() on an existing event, the event's starttime immediately gets changed to 12/30/1899 00:00:00.
 
So then, I set the recurrence's startdate and starttime BOTH to (for instance):  4/16/2014 03:30:00
 
Then I call event.UpdateRecurrence(recurrence). 
 
Now the event's starttime changes to:  4/16/2014 00:00:00
 
The time portion is lost, and nothing I do will correct it.   On the calendar control, the event jumps to midnight.  In fact, it's like the event's starttime becomes read only once the recurrence is set.
 
How can I fix this?
Back to Top
brianleahy View Drop Down
Newbie
Newbie
Avatar

Joined: 01 November 2013
Location: Cleveland, Ohio
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote brianleahy Quote  Post ReplyReply Direct Link To This Post Posted: 23 April 2014 at 5:36pm
Well, I found this notation lurking in the help files:

Remarks

The StartTime property holds the starting date and time of the event.

Important: Do NOT set the StartTime or EndTime for a Master event. These times are calculated internally and should not be changed. An event becomes a Master event when the CreateRecurrence method is used on the event.


So - it's sounding like, once those attributes are set, there's no changing the event to a repeating event.

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.125 seconds.