Probably a counter of some sort. Although I don't know if that would work either. Probably best to try and limit it in your query I suppose.
<!----------------//------ andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --------------//---------> -----Original Message----- From: Les Mizzell [mailto:[EMAIL PROTECTED] Sent: Thursday, August 17, 2006 8:27 AM To: CF-Talk Subject: maxrows and group What's the best way to accomplish this, since you can't use the maxrows attribute inside a group? <cfoutput query="categories" group="MAIN_CATEGORY"> #MAIN_CATEGORY# <!---Show all, regardless of how many---> <cfoutput maxrows="3"> <!--- Limit to top 3 in each category---> #Sub_cat# </cfoutput> </cfoutput> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:250148 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

