It returns a query. Try using <CFDump var="#sortedFolders#"> to see what it
returns and then use a <CFOUTPUT query="sortedFolders"> to make use of it.


> I'm trying to use the MakeTree tag from
> http://www.houseoffusion.com/_library/maketree.txt like this:
>
> <cfquery name="getFolders" datasource="#request.dsn#"
> username="#request.dbuser#" password="#request.dbpass#">
>    SELECT  folderID, parentFolder
>    FROM  queueFolders
>   </cfquery>
>
>   <cf_MakeTree Query="#getFolders#" Result="sortedFolders"
Unique="folderID"
> Parent="parentFolder">
>
> It seems to work, but how would I output the result? I've tried:
>
> <cfoutput>#sortedFolders#</cfoutput>
>
> But that gives the error: Complex object types cannot be converted to
simple
> values.
>
> Any ideas? This tag is done by Michael Dinowitz, so maybe he can shed some
> light on this. Thanks.
>
> Cedric Villat
>
>
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

Reply via email to