Delete record in view.

Experts,

    I have a view that I need to remove all records inside it using Lotus Script..

Thanks!
cyleAsked:
Who is Participating?
 
brwwigginsIT ManagerCommented:
Maybe something like this...

Dim session As New notessession
     Dim db As notesdatabase
     Set db = session.currentdatabase
     Set targetdb = session.getdatabase("","<nsfDBname>")
     Dim view As notesview
set view = db.getview("<viewname>")
Set vc = view.AllEntries
Call vc.RemoveAll(True)
0
 
cyleAuthor Commented:
THNKS!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.