I'd, first of all, select all the data I needed in one chunk. Nice,
locally cached dataset, in RAM, speedy delivery.
What happens from there is different based on your first query... is
it ordered by your group-by value?
If not, I'd do this:
Run a query-of-queries to do a distinct select against
You could put your grouped output in a separate file and cfinclude it...
-Brad
- Original Message -
From: "Pete Ruckelshaus" <[EMAIL PROTECTED]>
To: "CF-Talk"
Sent: Tuesday, March 22, 2005 9:53 AM
Subject: Grouped output with cfloop?
> Is there any w
05 8:54 AM
To: CF-Talk
Subject: Grouped output with cfloop?
Is there any way to do grouped query output using cfloop? Reason is
that I use a switch/case statement for my page, and wrap the entire
thing in a cfoutput tag to make my code more readable. I would like to
do something like:
#groupcolumndat
Is there any way to do grouped query output using cfloop? Reason is
that I use a switch/case statement for my page, and wrap the entire
thing in a cfoutput tag to make my code more readable. I would like
to do something like:
#groupcolumndata#
#blah#
But I would like to do it with cfloop or
4 matches
Mail list logo