Solved

Structuring a Dropdown Menu with 14 nested levels

Posted on 2010-11-15
3
252 Views
Last Modified: 2012-06-27
I am trying to build a dropdown menu with 14+ levels in coldfusion. I was directed here for an answer. Below was the response from the expert in the coldfusion section:

"14 nested levels? Then you're asking about a db query not CF. For MS SQL, the answer
probably involves CTE's.  If you ask in the MS SQL zone, I'm someone there
could answer it."

Help plz
0
Comment
Question by:timbad2021
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 57

Accepted Solution

by:
Raja Jegan R earned 500 total points
ID: 34136585
If you want to get recursive values till 14 levels, then the sample code present under "D. Using a recursive common table expression to display two levels of recursion" in the below link might help:

http://msdn.microsoft.com/en-us/library/ms175972.aspx

Just change WHERE EmployeeLevel <= 2  to 14 to get nested values till 14 levels.
0
 
LVL 1

Assisted Solution

by:timbad2021
timbad2021 earned 0 total points
ID: 34137494
Found the answer:
http://dbtree.megalingo.com/
0
 
LVL 1

Author Closing Comment

by:timbad2021
ID: 34179023
Yep.
0

Featured Post

Enroll in July's Course of the Month

July's Course of the Month is now available! Enroll to learn HTML5 and prepare for certification. It's free for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

SQL Server engine let you use a Windows account or a SQL Server account to connect to a SQL Server instance. This can be configured immediatly during the SQL Server installation or after in the Server Authentication section in the Server properties …
Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

635 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question