Your not passing a query.  Your passing a query name. Try putting pounds
around the query name.

#myQuery#

> I Need a hand with CF_MakeTree.  I'm not familiar with reading query
output into a tag attribute and I'm screwing it up as a result.  If I simply
do this, then I get the following error:
>
> <cfquery
> datasource="#request.SiteDSN#"
> name="GetTopics">
> SELECT
> cm_topics.ID AS ItemID,
> cm_topics.ParentID AS ParentItemID
> FROM cm_topics
> WHERE
> 0=0
> </cfquery>
> <CF_Tag_MakeTree
> Query="myQuery"
> Result="GotEm"
> Unique="ItemID"
> Parent="ParentItemID">
>
> MESSAGE: Invalid parameter type
> DETAIL: The passed value does not evaluate to a valid query object
>
> If I instead use QueryNew, QuerySetCell etc. to build a query and try and
feed the thing in, I get identical results.
>
> Can anyone tell me what I'm missing here?
>
> --Matt Robertson--
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Reply via email to