By
Published: 21 Mar 2004
How can I rename a folder using LotusScript? Thanks in advance.
This works in Notes release 6 and up (from the Domino Designer help):
Sub Initialize
Dim s As New NotesSession
Dim db As NotesDatabase
Dim view As NotesView
Dim newName As String
Set db = s.CurrentDatabase
Set view = db.GetView("Topics")
newName = Inputbox$("New name", _
"Change name:", view.Name)
If newName = "" Then Exit Sub
view.Name = newName
End Sub
Do you have comments on this Ask the Expert Q&A? Let us know.
Dig Deeper on LotusScript
Learn about an add-on Domino developers can use to programmatically edit rich-text field tables from within the Lotus Notes client.
Continue Reading
Web Development expert Jens Bruntt outlines three potential issues to consider when troubleshooting Lotus Notes Domino tabbed table problems.
Continue Reading
Continue Reading