PDA

View Full Version : Update a open calendar on screen (custom tables)



Ditte
29-Sep-2009, 03:29 AM
Hi,

I´m using Calendar SigCJ (13.1.0), with custom tables.
A looking for a solution to updating a calendar which is always open on screen.
I want not reload all events at updating, only the events that will be new, changed or deleted.
I have expand the calevent with a field changestate.
I the background a timer is running (the user can change the time for updating).

Now if a event will be changed, the changestate will be 1. Now I can take the calevent.urn and searching it in the calendar.
Problem: there is only a ComSelectEventByID not a found, I need the Variant of the event to refresh it. The date and time of the event is not helpfull, it could be changed.

Is there a way to found the variant of event by calevent.urn or a other way?

Ian Smith
29-Sep-2009, 08:11 AM
Hi Dittmar

The function you are looking for is ComGetEvent of the CalendarDataProvider object.

The CalendarDataProvider object is held in Private_phoDataProvider.

Ditte
29-Sep-2009, 09:22 AM
Thanks Ian,

it´s what I´m looking for.