|
|
|
|
|
OrgOccurrence (Function) In french: OrgaOccurrence Returns the number of elements found in an Organization Chart control. // 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.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|