@FolderAddDoc
Syntax
@FolderAddDoc(DBHANDLE1;VIEWHANDLEFOLDER2;FN3);
@FolderAddDoc(DBHANDLE1;VIEWHANDLEFOLDER2;FNLIST3);
@FolderAddDoc(DBHANDLE1;VIEWHANDLEFOLDER2;IDLIST3);
Description
This @Function adds, in the DB with the DBHANDLE DBHANDLE1, the documents,whose NOTEID’s in FN/FNLIST/IDLIST FN3/FNLIST3/IDLIST3 can be specified, in the Folder with the VIEWHANDLE VIEWHANDLEFOLDER2 a.
Return value:
If the @Function was executed successfully, TRUE is returned; otherwise @ERROR.
Example: @FolderAddDoc(DBHANDLE1;VIEWHANDLEFOLDER2;FN3);
DBHANDLE1:=@OpenDB("TEST.NSF");
VIEWHANDLEFOLDER2:=@OpenView(DBHANDLE1;"TEST Folder");
FN3:=12986;
Ret:=@FolderAddDoc(DBHANDLE1;VIEWHANDLEFOLDER2;FN3);
@LogReport(Ret);
VIEWHANDLEFOLDER2:=@CloseView(VIEWHANDLEFOLDER2);
DBHANDLE1:=@CloseDB(DBHANDLE1);
The folder named "TEST Folder" in the DB with the name "TEST.NSF" has the document with the NOTEID 12986 added.
Note : This text was machine-translated and may contain inaccuracies.
