Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

delete an item is a list using LS

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Does any one how to delete an item from a list using a LotusScript. The script below does the job but it dosent refresh the view. I have to phyically go into the document and save it. I cant really do that as the db contains around 4000 document.




GetEmail = doc2.InfoSentTo(0)

Eval$ = "@trim(@ReplaceSubstring(InfoSentTo; " & """" & GetEmail & """; " & """""" & "))"
result = Evaluate(Eval$, doc2)


Forall v In result
i = i + v + " ;"

End Forall


Set item = doc2.replaceitemvalue("InfoSentTo", Trim(Cstr(i)))


Call doc2.save(True, True)
Call ShowEmail.Refresh

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top