Yes, you can nest grouped cfoutput's, not sure you need to query attribute
beyond the first cfoutput though?

MiKEY C!

-----Original Message-----
From: Carlisle, Eric [mailto:[EMAIL PROTECTED]]
Sent: 10 May 2002 13:43
To: CF-Talk
Subject: Can <cfoutput group=""> be nested?


I have a query with columns like this like this....

Category        SubCategory     SubSubcategory  Name

And I'm trying to accomplish an output similar to this.


Category
        SubCategory
                SubSubCategory
                        Name
                        Name
                        Name

Category
        SubCategory
                SubSubCategory
                        Name
                        Name
                        Name


etc...

Can I nest <cfoutput> groups like this?


<cfoutput query="myQuery" group="category">
#category#

        <cfoutput query="myQuery" group="subcategory">
        #subcategory#
                
                <cfoutput query="myQuery" group="subsubcategory">
                #subsubcategory#

                        <cfoutput>#name#</cfoutput>

                </cfoutput>

        </cfoutput>

</cfoutput>


Thanks :)

Eric


______________________________________________________________________
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to