I am trying to build an org chart using document collections. currently , I get the CEO of the company & the build a document collection of all the people who are under Him/Her . Then I call the function again to complie the collection under that person & so on & so on....
My problem is that I can build the structure fine for the first person under the CEO but I cannot go back up the strucure to get to the next person ...
in my sub routine , I can get the following structure :
then I am stuck cos I have lost my previous collections .... any ideas
Here is the code that I currently have :
Sub GetEmployees(ID As String)
Set EmployeeCollection = View.GetAllDocumentsByKey(ID)
If EmployeeCollection.Count = 0 Then
Print "No Underlying Employees" + " <br>"
CurrentTab = currentTab - 5
Set EmployeeDoc = employeeCollection.GetFirstDocument
While Not EmployeeDoc Is Nothing
CurrentTab = CurrentTab + 5
Print EmployeeDoc.FirstName(0) + " " + employeeDoc.LastName(0) + " <br>"
Set employeeDoc = EmployeeCollection.GetNextDocument(EmployeeDoc)
For Desktop Techs:
How to retain a user's Notes configuration data when swapping out the end user's computer.
(Assuming that you are not upgrading to a completely different version of Notes client)
All you need to do is:
1) install Notes o…
I thought it will be a good idea to make a post as it will help in case someone else faces these issues. I trust this gives an idea how each entry in Notes.ini can mean a lot for the Domino Server to be functioning properly. This article discusses t…
The video will let you know the exact process to import OST/PST files to the cloud based Office 365 mailboxes. Using Kernel Import PST to Office 365 tool, one can quickly import numerous OST/PST files to Office 365. Besides this, the tool also comes…
From store locators to asset tracking and route optimization, learn how leading companies are using Google Maps APIs throughout the customer journey to increase checkout conversions, boost user engagement, and optimize order fulfillment.