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.