Remove the pound signs around APPLICATION.getAllProds

> -----Original Message-----
> From: Will Tomlinson [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, November 15, 2006 1:07 PM
> To: CF-Talk
> Subject: Outputting queries from APPLICATION scope
> 
> I'm storing a query in application scope for the first time.
> 
> If I try outputting the query with cfoutput, I get the ol'
> "Complex object types cannot be converted to simple values"
> 
> <cfoutput query="#APPLICATION.getAllProds#">
> <a
>
href="https://www.luckydogvolleyball.com/Store/productdetail.cfm?PID=#pr
od
> ID#">#prodname#</a>
> <cfif APPLICATION.getAllProds.currentrow NEQ
> APPLICATION.getAllProds.recordcount>,</cfif>
> </cfoutput>
> 
> What am I doin wrong here?
> 
> Thanks,
> Will
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:260549
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