ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Organization Chart functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Returns the number of elements found in an Organization Chart control.
Example
// Find the element according to its name
NbElements is int = OrgOccurrence(ORG_Executive)
FOR i = 1 TO NbElements
IF ORG_Executive[i].Title = "Vince" THEN
ORG_Executive[i].SubTitle = "Employee of the month"
END
END
Syntax
<Result> = OrgOccurrence(<Organization Chart control>)
<Result>: Integer
Number of elements found in the Organization Chart control. This number corresponds to:
  • the number of elements added by OrgAdd and OrgAddChild.
  • the number of elements added via the file link if the control is linked to a data source. In this case, these elements have been displayed by OrgDisplay.
<Organization Chart control>: Control name
Name of Organization Chart control to use.
Component: wd290obj.dll
Minimum version required
  • Version 17
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/07/2022

Send a report | Local help