The variables scope should work within the custom tag:

<cfoutput query="#ATTRIBUTES.QUERYNAME#">
#VARIABLES[ATTRIBUTES.QUERYNAME][attributes.fieldname][currentrow]#
</cfoutput>

Note that I dropped the query name from currentrow as it's now a dynamic
name and you can rely on CF to figure out what currentrow means inside a
cfoutput tag.

-----Original Message-----
From: Phillip Perry [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, 19 October 2004 11:26 
To: CF-Talk
Subject: RE: custom tag help

Thanks James. That does work if you assume that display is the query name,
but what if the query name is stored in an attributes.queryname value? I've
played around with what you gave me but I can't seem to get it to work. any
thoughts?

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.houseoffusion.com/banners/view.cfm?bannerid=11

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:181808
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to