Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Tree view

Author  Topic 

purisqlserver
Yak Posting Veteran

73 Posts

Posted - 2004-04-27 : 14:56:40
Hi,

we are developing a asset management package.
I have three tables Location,Sub_Location,Asset_Details.
Location has Loc_Id,Location_name,Location_desc,

Sub_location has sub_locid,subloc_name,loc_id(fk),

Asset_details has Asset_Id,Loc_Id,Asset_Name.
The requirement is to have a tree view on the left menu as follows:

Location
Asset

or

Location
Sublocation
Asset1
asset2

Whts is the best table design for this?

Thanx

Merkin
Funky Drop Bear Fearing SQL Dude!

4970 Posts

Posted - 2004-04-28 : 00:23:39
I like this one http://www.sqlteam.com/item.asp?ItemID=8866
Which can be found by doing a search for "Tree"



Damian
Go to Top of Page
   

- Advertisement -