Adds current document to one folder while removing it from another. NULL string can be substituted for either argument to skip the action.
Note This @function is new with Release 5.
@AddToFolder(foldernameadd ; foldernameremove)
foldernameadd
Text. Name of the folder the document will be added to.
foldernameremove
Text. Name of the folder the document will be removed from.
This formula can be used in toolbar button and agent formulas.
@Command([Folder]; Foldername; MoveOrCopy) works just like @AddToFolder except it moves a document from the current folder.
Folder method in LotusScript NotesUIWorkspace class
PutInFolder method in LotusScript NotesDocument class
putInFolder method in Java Document class
RemoveFromFolder method in LotusScript NotesDocument class
removeFromFolder method in Java Document class
See examples