Solved

Structuring a Dropdown Menu with 14 nested levels

Posted on 2010-11-15
3
247 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
  • 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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Occasionally there is a need to clean table columns, especially if you have inherited legacy data. There are obviously many ways to accomplish that, including elaborate UPDATE queries with anywhere from one to numerous REPLACE functions (even within…
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

762 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now