@GetViewPosInfo
Syntax
@GetViewPosInfo(VIEWPOS);
@GetViewPosInfo(VIEWPOS;FNPOSLIST);
@GetViewPosInfo(VIEWPOS;FNPOSLIST;FNMINLEVEL);
@GetViewPosInfo(VIEWPOS;FNPOSLIST;FNMINLEVEL;FNMAXLEVEL);
Description
Returns the information for the VIEWPOS VIEWPOS is returned.
The return value of the @Function returns the number of documents found (e.g. by the @Function @FindDocumentsByKey or @FindCategoryByName) .
In the optional parameter FNLIST FNPOSLIST the list with the position data is returned. This is a pointer to a document in a view.
In the optional parameter FN FNMINLEVEL the minimum level is returned.
In the optional parameter FN FNMAXLEVEL the maximum level is returned.
On error, the @Function returns @Error is returned.
Example: @GetViewPosInfo(VIEWPOS;FNPOSLIST;FNMINLEVEL;FNMAXLEVEL)
VIEWPOS:=@ViewPos(1:1);
Hits:=@GetViewPosInfo(VIEWPOS;FNPOSLIST;FNMINLEVEL;FNMAXLEVEL);
In this example, for Hits, FNMINLEVEL und FNMAXLEVEL 0 is returned in each case (these are the default values when creating a VIEWPOS with @ViewPos).
In FNPOSLIST the list 1:1 is returned (this was passed when creating it with @ViewPos).
Note : This text was machine-translated and may contain inaccuracies.
