Removealfromfolder doesn't work!

Hi,

Here my problem :

I want to delete all documents from a folder.

I found a code like this in lotus forum v4&5:


dim folder as NotesView

dim collec as NotesviewEntryCollection

set folder = db.GetView(“myFolder”)

set collec = folder.AllEntries

Call collec.RemoveAllFromFolder(“myFolder”)


but i worke on v6 is it for this reason that doesn’t work?

If someone can help me to solve this problem…

Thanks a lot

Subject: removealfromfolder doesn’t work !!!

This is a bug in ND6 - it is fixed in version 6.5.1 - the bug means that the lotusscript cannot “see” anything in a private view/folder, so that if you look at the debugger AFTER “AllEntries”, this = Nothing.

If you had searched you would have found this!

Subject: RE: removealfromfolder doesn’t work !!!

Cut them some slack and lose the attitude. I have been searching for days on this stupid error and have found nothing meaningfull, just a bunch of people complaining about it.