Function EN Version 4.50

@GetFolderCount

Database Folder

Syntax

@GetFolderCount(DBHANDLE1;VIEWHANDLEFOLDER2);

Description

This @function returns the number of documents, that are located in the DB, with the DBHANDLE DBHANDLE1 in the folthe with the VIEWHANDLE VIEWHANDLEFOLDER2, are located.
Return value:
If the @function was executed successfully is the number the documents returned, otherwise @ERROR.

Example: @GetfolderCount(DBHANDLE1;VIEWHANDLEFOLDER2);

DBHANDLE1:=@OpenDB("TEST.NSF");
VIEWHANDLEFOLDER2:=@OpenView(DBHANDLE1;"TEST Folder");
FN3:=12986;
Ret:=@GetFolderCount(DBHANDLE1;VIEWHANDLEFOLDER2);
@LogReport(Ret);
VIEWHANDLEFOLDER2:=@CloseView(VIEWHANDLEFOLDER2);
DBHANDLE1:=@CloseDB(DBHANDLE1);

The operation the number of documents, in the folthe with the names "TEST folder" in the DB with the names "TEST.NSF", the varifromle Ret assigned and then output.

Note : This text was machine-translated and may contain inaccuracies.