RE: Multi-Level CFTREE from a query?

2007-07-19 Thread Blum, Jason (SAA)
You didn't used to be able to do this easily in SQL Server, though I
think you can now.

In Oracle, it's easy using the START WITH and CONNECT BY syntax:

http://www.adp-gmbh.ch/ora/sql/connect_by.html



-Original Message-
From: Greg Luce [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 17, 2007 1:46 PM
To: CF-Talk
Subject: Re: Multi-Level CFTREE from a query?

Joe Celko's nested tree model works nicely. It was in the book SQL For
Smarties I believe.

Greg

On 7/17/07, Richard Colman [EMAIL PROTECTED] wrote:

 Does anyone know of an example of how to populate a multi-lvel CFTREE
 control from a query. There are doc examples showing hard coding the
 levels, but I can't seem to find one showing how to populate from a
 query.

 TNX if you can provide a pointer.

 Rick Colman

 



~|
ColdFusion 8 beta – Build next generation applications today.
Free beta download on Labs
http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:284084
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Multi-Level CFTREE from a query?

2007-07-17 Thread Greg Luce
Joe Celko's nested tree model works nicely. It was in the book SQL For
Smarties I believe.

Greg

On 7/17/07, Richard Colman [EMAIL PROTECTED] wrote:

 Does anyone know of an example of how to populate a multi-lvel CFTREE
 control from a query. There are doc examples showing hard coding the
 levels, but I can't seem to find one showing how to populate from a
 query.

 TNX if you can provide a pointer.

 Rick Colman

 

~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7  
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:283915
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Multi-Level CFTREE from a query?

2007-07-17 Thread Richard Colman
Does anyone know of an example of how to populate a multi-lvel CFTREE
control from a query. There are doc examples showing hard coding the levels,
but I can't seem to find one showing how to populate from a query.

TNX if you can provide a pointer.

Rick Colman


~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7  
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:283907
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4