how to display multi company in tree menu with different database for different company
like
+Company A db_company_A
+HRM
+AP
+Company B db_company_B
+Scriptcase
+Users
+Company C db_company_C
+A links
+B
when we click on company A then database should be changed to db_company_A
when we click on company B then database should be changed to db_company_B…
Why store it in different databases?? Anyway if this is what you really want you can simply create 3 applications one for each company add a few buttons to a screen or add a menu and simply use an sc_redir to jump to another application. But that is just one solution… Since you specifically want to use 3 databases. I would use a single database with a company table wher the company index would be the key for the tables below it.