Is there a way to fetch the information on a universe and dump into an xls sheet.
e.g the Universe has following structure.
Country
| Country Name
| Country type
|--States
| State Name
| State Type
|--County
| | County Name
| | County Type
| |--City
| City Name
| City Type
|--Region
Region Name
Region Type
I want to dump the information in an excel sheet in the same hierarchical manner.
The excel sheet should look like this.
Country| | | Country Name
| | | Country Type
| States | | State Name
| | | State Type
| County | | County Name
| | | County Type
| | City | City Name
| | | City Type
| Region | | Region Name
| | | Region Type
Is there any easy way to do it? Probably by creatinga BO Report.
2.) How can I find out what level of nesting is done in creating sub classes? e.g. In the above example, we have subclasses nested upto 3rd level. (Country -> County ->City)
How can I find out what is the maximum level of nesting done in the entire universe?
This code has been most helpful.
I was able to modify the code to do some fancy formatting. Like showing the data in hierarchical manner and do bordering around occupied cells to have a better print out version.
Surely, I will be happy to share afterall I took most of the hints from Bob only
This may not be the bese piece of code but it worked for me.
This code is written for Sybase. But the connection string can be modified to make it work with other databases.