I am not giving you all of the code to do exactly what you need, but if you read this code below closely you should be able to get out of your rut with this assignment.
<cfset strLastCatName = "">
<cfoutput query="LINKS">
<cfif LINKS.Category NEQ strLastCatName>
<cfset strLastCatName = LINKS.Category>
#LINKS.Category#
</cfif>
<a href="#links.webUrl#" target="blank">#links.webUrl#</a>
</cfoutput>
hinde
Junior Poster in Training
60 posts since Jul 2005
Reputation Points: 10
Solved Threads: 4