Print Page | Close Window

Get hold of an exception

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=3646
Printed Date: 24 November 2024 at 10:13pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Get hold of an exception
Posted By: WaaZ
Subject: Get hold of an exception
Date Posted: 13 February 2006 at 12:21pm

I use ChangeEvent() on an exception. I get hold of the ID of the object and keep it somewhere.

Later on, when i click on the same exception, the ID of the exception is not the same

Can you clarify more about this

thnx

WaaZ




Replies:
Posted By: sserge
Date Posted: 14 February 2006 at 10:08am
Hi,

This is strange, because the ID of an exception event is not changed by a data provider.
ChangeEvent for exception keeps ID from the specified event.
Even if such exception already presents - it's ID is updated to a new one.

Could you please tell more about this situation. I mean which id do you hold and how you check it again. Are you sure that you are checking id for the same exception.
 
Just to be sure that we do not mix terms:
there are 2 different kinds of IDs for recurrence event:
    EventID   - id of the event object (like unique key for the events table);
    PatternID - id of the owner recurrence pattern (like unique key for the patterns table).


--
WBR,
Serge


Posted By: WaaZ
Date Posted: 15 February 2006 at 6:19am

I've been using only EventID, but its alright since I am using the Original exception start time (RExceptionStartTimeOrig) and the end one also to locate the particular exception to map against the exception of my object model.

This is a nice strategy infact.

Thnks

WaaZ




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