Remove records in domino

Hi again,

I've run into another problem, so i need your help again :)
In my application i've build an calendar where you add the location where you are. So on monday i can say, friday i have to be at New Orleans.
To accomplish this I add a record for each semi hour  that I should be at that location into lotus domino.

But now the tricky part, how can I remove those records when i canceld my visit. I tried to do that with doc.remove(true) but it looks like that this won't work...

So i hope some of you can help me out.

Tnx in advance 

Trackback URL for this post:

http://blackberry.developercommunity.com/trackback/280
dhoff4's picture

Are you sure it's not a security error?  Check the ACL, and make sure the you (or the id file that you signed to code with) have "delete documents" priveldges.  Deletion privledges are not automatically granted, even with developer access to the database.

 

Also; is this a recurring calendar entry?  I could see some orphan issues there.

If you are working with Calendar Entries, Lotus has a nice pdf that shows you what fields you need to edit for any type of calendar entry you can think of (if this was here 3 years ago, I'd have hair!)

 http://download.boulder.ibm.com/ibmdl/pub/software/dw/lotus/cal-schema.pdf

Tnx for that! I'll have a look at it. Cause the way i'm doing it now creates a huge ammount of unnecessary data