No i'm using cfmx. I just got on so I haven't tested anything yet. Phil
-----Original Message----- From: Pascal Peters [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 19, 2004 3:10 AM To: CF-Talk Subject: RE: custom tag help Phillip, If you are using CF5, this wont work because variables wasn't a structure back then. I'm just telling you this, not to correct James, but because you are using CT and not CFC (so I think you might be on pre CFMX). Before CFMX you would have to (reluctantly) use Evaluate(): #Evaluate(attributes.queryname & "." & attributes.fieldname)# Pascal > -----Original Message----- > From: James Holmes [mailto:[EMAIL PROTECTED] > Sent: 19 October 2004 06:40 > To: CF-Talk > Subject: RE: custom tag help > > 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? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=38 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:181828 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

