Print Page | Close Window

Delete an occurence at initialisation

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=3609
Printed Date: 18 May 2024 at 9:07am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Delete an occurence at initialisation
Posted By: WaaZ
Subject: Delete an occurence at initialisation
Date Posted: 06 February 2006 at 10:45am

Hello,

I have my calendar events loaded from the database. In a particular situation I have the following:

1) My master event

2) the recurrence pattern

3) An event which is an occurence I need to delete from the occurences. I held it as an exception with a seperate field in the database saying that it is to be deleted.

My question is.. how am I going to delete an occurence from the UI at loading time or initialisation time (before the user actually moves the mouse.. this means, there is no use of the hitTest object).

thnks




Replies:
Posted By: sserge
Date Posted: 06 February 2006 at 2:44pm
Hi,

You should already know how to create recurrence exceptions.

If so, the following piece of code will mark exception as deleted:

pExceptionEvent.RExceptionDeleted = True;


--
WBR,
Serge



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