ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Controls, pages and windows / Organization Chart functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Returns the number of elements found in an Organization Chart control.
Example
// Recherche de l'élément selon son nom
NbElement is int = OrgOccurrence(ORGA_Direction)
FOR i = 1 TO NbElement
	IF ORGA_Direction[i].Titre = "Boris" THEN
		ORGA_Direction[i].SousTitre = "Employé du mois"
	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: wd300obj.dll
Minimum version required
  • Version 17
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/27/2025

Send a report | Local help