@FolderRemoveDoc
Syntax
@FolderRemoveDoc(DBHANDLE1;VIEWHANDLEFOLDER2;FN3);
@FolderRemoveDoc(DBHANDLE1;VIEWHANDLEFOLDER2;FNLIST3);
@FolderRemoveDoc(DBHANDLE1;VIEWHANDLEFOLDER2;IDLIST3);
Description
This @Function removes, in the DB with the DBHANDLE DBHANDLE1, the documents whose NOTEIDs can be specified in FN/FNLIST/IDLIST FN3/FNLIST3/IDLIST3 from the folder with the VIEWHANDLE VIEWHANDLEFOLDER2.
(The document is not deleted from the DB; it is only removed from the folder.)
Return value:
If the @Function was executed successfully, TRUE is returned; otherwise @ERROR.
Example: @FolderRemoveDoc(DBHANDLE1;VIEWHANDLEFOLDER2;FN3);
DBHANDLE1:=@OpenDB("TEST.NSF");
VIEWHANDLEFOLDER2:=@OpenView(DBHANDLE1;"TEST Folder");
FN3:=12986;
Ret:=@FolderRemoveDoc(DBHANDLE1;VIEWHANDLEFOLDER2;FN3);
@LogReport(Ret);
VIEWHANDLEFOLDER2:=@CloseView(VIEWHANDLEFOLDER2);
DBHANDLE1:=@CloseDB(DBHANDLE1);
The document with NOTEID 12986 is removed from the folder named "TEST Folder" in the DB named "TEST.NSF"NOTEID12986.
Note : This text was machine-translated and may contain inaccuracies.
