DOH!

Thanks, Michael.  That of course did it.

--Matt--



-----Original Message-----
From: Michael Dinowitz [mailto:mdinowit@;houseoffusion.com] 
Sent: Monday, October 28, 2002 7:21 PM
To: CF-Talk
Subject: Re: Replacement for CFX_fMAKETREE


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
Get the mailserver that powers this list at http://www.coolfusion.com

Reply via email to