Okay, I know that this should be relatively simple, and, in fact, in a
previous job I did something similar, but I cannot for the life of me
figure out how to do it.
My query result looks like this:
LVLTITLE
1 Title1
2Subtitle1
1Title2
1Title3
2
Sure. In your example, though, my concern would be that other than
the order in which you've listed the items, there's no way to tell
which element lower than level 1 is a child of which other element.
Do you have a parent ID field or some such that relates an item to its
parent item or are you
Sure. In your example, though, my concern would be that other than
the order in which you've listed the items, there's no way to
tell which element lower than level 1 is a child of which other
element.
Do you have a parent ID field or some such that relates an item to its
parent item or are
I have not studied your example but I believe what you are trying to do is what
the group by parameter of the cfoutput tag is for.
cfoutput query=aQuery group=aField
Output stuff that will appear once per unique value of aField.
cfoutput
Output stuff that will appear once per record in
4 matches
Mail list logo