Hi I am using salesforce as database. I want to populate treeview same as [ Forecast hirarchy in salesforce database]. My question is what is the best way to populate the treeview with those forecast hirarchy values. User Roles&Rights are in one table and the corresponding UserNames are in another table.
Example: There can be multiple adminPersons, for each adminPerson there will be reporting managers for each manager there can be subreporting persons etc., etc., sample structure given below Admin1 |------ Manager1 |------ ReportingPerson1 |------ ReportingPerson2 |------ Manager2 |------ ReportingPerson3 |------ ReportingPerson4 |------ ReportingPerson5 |------ Manager3 |------ ReportingPerson1 |------ ReportingPerson6 |------ ReportingPerson7 |------ ReportingPerson8 |------ Manager4 |------ ReportingPerson2 Admin2 |------ Manager5 |------ ReportingPerson1 |------ ReportingPerson2 |------ Manager6 |------ ReportingPerson3 |------ ReportingPerson4 |------ ReportingPerson5 Regards Girish Unlimited freedom, unlimited storage. Get it now, on http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/