How delete all document in a folder

I have a buton and I want when a person click on, the folder “Impression” become empty.I program in LS, How dow that?

Subject: How delete all document in a folder

Check the sandbox on the developer’s domain. They may have a applet or agent that does that already. Other than that, not being a developer, I can’t help you. But, someone on this forum should be able to get you started if you have to write the agent yourself.

Subject: How delete all document in a folder

Howdy!

I was looking for something else when I bumped into this one. Here’s the script, in case you haven’t done it yet. =8) I did it quick, but it should be ok.

dim s as new NotesSession

dim db as NotesDatabase

dim view as NotesView

dim ve as NotesViewEntryCollection

set db = s.CurrentDatabase

set view = db.GetView(“Impression”)

set ve = view.AllEntries

call ve.RemoveAllFromFolder(“Impression”)

Ciao!

Steve

“Wherever you go, there you are.”