Assuming the attribute is ATTRIBUTES.FIELDNAME, <cfoutput query="display">#display[attributes.fieldname][display.currentrow]#</cfoutpu t>
will do the job. -----Original Message----- From: Phillip Perry [mailto:[EMAIL PROTECTED] Sent: Tuesday, 19 October 2004 10:12 To: CF-Talk Subject: custom tag help Hi, I'm messing with custom tags and am doing pretty basic stuff (i think) to get used to using them. the tag does the following query.... <cfquery datasource="dataname" name="display"> SELECT * FROM table_name </cfquery> I've determined this works, but obviously this isn't very useful as is. I added an attribute that gets the field name and displays the info from the field to the screen something like this... <cfoutput query="display">#feildname#</cfoutput> but that doesnt work. I put the field name in a variable and instead of displaying the value of the field its displaying the variable name. How can I make this display the value of the field instead of the value of the attribute? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=36 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:181804 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

