but, but, but... I thought I saw CFC examples where the cfreturn variable
didn't match the query name.   (It didn't make much sense, but then, again,
not a lot of the CFC "stuff" does, right now)

The change made it work, however.

Now I know.  The cfreturn variable has to match the query name.

Live and learn...

Rick

Charlie Griefer wrote:
> the problem isn't the empty query.  an empty query is still a query.  the
> problem is you're returning "featured_products" but your query is named
> "get_featured_products".  you're returning an empty variable.
> change this line:
>
> <cfset var featured_products = "" />
>
> to:
>
> <cfset var get_featured_products = "" />
>
> then change your <cfreturn />  to return get_featured_products.
>
> On Wed, Oct 22, 2008 at 8:51 AM, Rick Faircloth <[EMAIL PROTECTED]>wrote:
>
>
>   

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314245
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to