Hi William, Thanks for your reply. Yes, that is what I've been doing for a while now. The only problem is that it messes up my display: <cfoutput>Displaying #StartRow# to 25 of #Query.recordcount# results</cfoutput>
This is not too much of a problem with lots of rows returned. However it looks silly if my Query has 9 rows but only 3 unique IDs. Then I get: Displaying 9 Records, when the user can clearly see only 3. Doesn't look good. It also messes up the #StartRow# figure. My page only displays the first 25 records, then links to the rest. When the next page is clicked, it might show records 12-36 instead of 26-50. You know another way to do this? Not only of getting the true recordcount, but also the true starting row for a grouped query? I also thought of leaving out the categories, and then just grabbing them when the page displays. This would mean a maximum of 25 extra queries per view but then the original query would be correct. Scott ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300838 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

