Skip to main content
This forum is closed to new posts and responses. The content has been migrated to the Digital Solutions Community. Please join us there for new content as well as this content. For customer support, please visit the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum


  

PreviousPrevious NextNext

RE: LScript: Delete documents using a Terminations List
~Arnold Dwonumanakoi 27.Oct.03 07:10 PM a Web browser
Applications Development 6.0.2 CF2 Windows XP


Hi Ed
Without seeing the rest of your code I'm not sure why docs are being deleted from the wrong view ... I notice once the loop is over, you'll have an extra 'OR' hanging at the end of all the all the doctors' names whioch may or may not affect things ... but here is a simple modification which forces deletions from the correct view:

set DeltionsViiew to point to the view thaat contians Mediflex docs.

Modify your loop as follows

While Not (doc Is Nothing)
'grab & delete one doc at a time
a= doc.FirstName(0) & " " & doc.LastName(0)
'look up the DeletionsView for the document with the key in a and delete it.
Set doc = view.GetNextDocument(doc)
Wend




LScript: Delete documents using a T... (~Delores Breger... 27.Oct.03)
. . RE: LScript: Delete documents using... (~Manny Kiboosis... 28.Oct.03)
. . RE: LScript: Delete documents using... (~Delores Breger... 28.Oct.03)
. . . . RE: LScript: Delete documents using... (~Bill Frokimari... 28.Oct.03)
. . . . . . RE: LScript: Delete documents using... (~Delores Breger... 29.Oct.03)
. . RE: LScript: Delete documents using... (~Arnold Dwonuma... 27.Oct.03)
. . . . RE: LScript: Delete documents using... (~Bill Frokimari... 28.Oct.03)


Document Options






  Document options
Print this pagePrint this page

Search this forum

Forum views and search


  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Category
Platform
Release
Advanced search

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS