读书人

Lotus Script 不可以动态创建文件夹吗

发布时间: 2012-03-09 21:42:54 作者: rapoo

Lotus Script 不可以动态创建文件夹吗?(在线等)
db.CreateView()可以创建视图,
创建文件夹呢?

[解决办法]
直接用PutInFolder命令就可以了,如果不存在Folder的话,会自动创建一个。
[解决办法]
楼上的正解
[解决办法]


[解决办法]
顶.
Dim tmpDoc As NotesDocument

Call tmpDoc.PutInFolder( "folder ",True) 若没有folder则新建,有则追加
[解决办法]


Adds a document to the specified folder. If the folder does not exist in the document 's database, it is created.

Defined in
NotesDocument

Syntax
Call notesDocument.PutInFolder( folderName$ [, createonfail ] )

Parameters
folderName$
String. The name of the folder in which to place the document. The folder may be personal if the script is running on the workstation. If the folder is within another folder, specify a path to it, separating folder names with backward slashes, for example, "Vehicles\Bikes ".
createonfail
Boolean. Optional. Specify True so that a folder will be created if it does not exist.

读书人网 >行业软件

热点推荐