Daniel,

Here's what's happening, so that you understand why....

The outer CFOUTPUT loops through the query set and handles the grouping
using the "group" attribute. The inner CFOUTPUT loops around all the
records in a group and outputs them to the page.

What you had previously was just looping around the groups and not the
records within a group.

Hope that makes sense.

Regards

Stephen

> ok, I see how that could work (and did work), but while I understand
> what you did, I'm surprised that it's the method to make this work.
>
> I appreciate the help.   It looks mah-vel-ous.
>
> >try...
> >
> ><ul>
> >        <cfoutput query="retrieve_archives" group="p_category">
> >        <br>#p_category#
> >        <cfoutput>
> >            <li><a href=""> > >        </cfoutput>
> >        </cfoutput>
> ></ul>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to