PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
HierarchicalDepth (Property)
In french: ProfondeurHiérarchique
..HierarchicalDepth is used to:
  • Find out the depth of a hierarchical control found in a report.
  • Modify the depth of a hierarchical control found in a report (only if the report is using a data source by programming).
This property can only be used in the processes of a "Report on treeview table" report.
Example
// -- Pre-print process of Body block
IF ITEM_Col_Customer..HierarchicalDepth = 1 THEN
ITEM_Col_Customer..BrushColor = iLightGreen
ELSE
ITEM_Col_Customer..BrushColor = iWhite
END
Syntax

Finding out the level of depth for a hierarchical control Hide the details

<Result> = <Control Name>..HierarchicalDepth
<Result>: Integer
Depth of the hierarchical control: 0 for the root, 1 for the first level, ...
<Control Name>: Character string (with or without quotes)
Name of the hierarchical control to use.

Modifying the level of depth for a hierarchical control Hide the details

<Control Name>..HierarchicalDepth = <New Depth>
<Control Name>: Character string (with or without quotes)
Name of the hierarchical control to use. This report must use a data source by programming.
<New Depth>: Integer
New depth for the hierarchical control: 0 for the root, 1 for the first level, ...
Remarks
..HierarchicalDepth only applies to the "Report on treeview table" reports.
Minimum version required
  • Version 19
This page is also available for…
Comments
Click [Add] to post a comment