Event:ID unique? |
Post Reply |
Author | |
skiman
Groupie Joined: 20 December 2008 Location: Belgium Status: Offline Points: 88 |
Post Options
Thanks(0)
Posted: 02 March 2009 at 3:14am |
Hi,
I have a problem with the event:ID and the custom data provider using Xbase++.
At startup I add the events to the calendar from my database, with the CreateEventEx( eventid). After populating everything is loaded and shown on the screen. If I check the ID's of each event, everything is OK, the ID's are identical as in my database.
I place the cursor in the screen, and I click 'Click to add new event' and enter some information. After ENTER the DoCreateEvent is fired and I can save the event to my database. I see the new ID. I move the event, and sometimes the events receives a new ID. With the DoUpdateEvent I see the event has a new ID.
I can simulate it as follows :
Anyone who has found the same problem? Regards,
Chris.
|
|
ABO Service
|
|
dkrapf
Newbie Joined: 04 March 2009 Location: Germany Status: Offline Points: 2 |
Post Options
Thanks(0)
|
Hi,
I discovered the following: The Callback function DoRetrieveDayEvents() in which I build the eventlist from my own database gets called automatically every two minutes (when the marker in the timeline Column skips forward). This changes the values of the event ids. |
|
skiman
Groupie Joined: 20 December 2008 Location: Belgium Status: Offline Points: 88 |
Post Options
Thanks(0)
|
Hi, I'm' using a customproperty to save my own unique eventid's. This seems to be a good solution to have control, and synchronisation with my own database. Regards, Chris |
|
ABO Service
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |