<cfoutput query="categories" group="MAIN_CATEGORY">
   #MAIN_CATEGORY# <!---Show all, regardless of how many--->
    <cfloop from="1" to="3" step="1" index="i"> <!--- Limit to top 3 in
each category--->
      #Sub_cat#
    </cfloop>
</cfoutput>

???

Jake Churchill
CF Web Tools
[EMAIL PROTECTED]
402-408-3733 x103


-----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:250170
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to