M mayahandayani Member Licensed User Aug 5, 2024 #1 Hello! I create calendar using EventStore and I have recurring events. I want to delete and show option like this : (Note : In my app only 2 options, this event & all events.) When I select All Events, I can delete using this code : B4X: Copy Dim aas As ASScheduler_Appointment = data Dim ev As CalendarEvent = MP.store.GetEvent(aas.Tag) MP.store.RemoveEvent(ev,True) But I want to delete only 1 event (select this event), how to do that? Thanks
Hello! I create calendar using EventStore and I have recurring events. I want to delete and show option like this : (Note : In my app only 2 options, this event & all events.) When I select All Events, I can delete using this code : B4X: Copy Dim aas As ASScheduler_Appointment = data Dim ev As CalendarEvent = MP.store.GetEvent(aas.Tag) MP.store.RemoveEvent(ev,True) But I want to delete only 1 event (select this event), how to do that? Thanks
Erel B4X founder Staff member Licensed User Longtime User Aug 5, 2024 #2 I see some discussions about it not being possible to delete a single instance of a recurring event if the recurring event was created by the user: Can't delete single ekevent of recurrent event in calendar iOS I've developed an app that uses calendar using the eventkit. The user can push a button and delete a specific event. Everything works just fine, except when it comes to recurrent events. If the u... stackoverflow.com Upvote 0
I see some discussions about it not being possible to delete a single instance of a recurring event if the recurring event was created by the user: Can't delete single ekevent of recurrent event in calendar iOS I've developed an app that uses calendar using the eventkit. The user can push a button and delete a specific event. Everything works just fine, except when it comes to recurrent events. If the u... stackoverflow.com