PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
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
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.
Components
WINDEVReports and Queries wd230obj.dll
Minimum required version
  • Version 17
This page is also available for…
Comments
Click [Add] to post a comment