I am looping through the results of a query, and I need to limit the number of rows displayed. I need to use cfoutput because I'm using the group attribute, and I cannot use the maxrows because not all rows will be displayed.

I tried to use <cfbreak> inside the <cfoutput>, but that throws an error.

How can I break out of the <cfoutput> loop?

Edit
Report