FORMULA LANGUAGE


FolderDocuments @Command
Moves or copies the selected document to a folder.

Note This command is new with Release 6.

Syntax

@Command( [FolderDocuments] ; folderName ; moveOrCopy )

Parameters

folderName


moveOrCopy
Usage

This command executes immediately. Use the Folder @command to execute after all @functions. See the Order of evaluation for formula statements topic for more details.

If you don't want to specify a folderName, but you want to specify a moveOrCopy, use a NULL string as shown below.

@Command([FolderDocuments];"";"1")

A saved document must be open or selected in a view.

Folder does not work for new documents. If multiple documents are selected in a view, they are all moved or copied to the folder.

@AddToFolder works just like @Command([FolderDocuments]; Foldername; MoveOrCopy) except it can move a document from another folder.

Note The following feature is new with Release 5.

This @command works on the Web if "Use applet in the browser" is in effect for the implementing view or folder.

Language cross-reference

Folder method of LotusScript NotesUIWorkspace class

PutInFolder method of LotusScript NotesDocument class

putInFolder method of Java Document class

See Also