• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 247
  • Last Modified:

Delete record in view.

Experts,

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

Thanks!
0
cyle
Asked:
cyle
1 Solution
 
brwwigginsCommented:
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

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now