Thanks, Michael. The Sothink product scooter5791 recommended
actually made this pretty easy. Parent query works just as
SELECT *
FROM TopNav
WHERE topNavParentId=0
AND TopNavStatus=1
ORDER BY topNavOrder
Child query is simply
SELECT *
FROM TopNav
WHERE topNavParentId <> 0
AND topNavStatus=1
AND #getTopNav.topNavId#=topNavParentId
and then the output just loops through the GetTopNavDropdown
query, basically:
<CFLOOP query="getTopNavDropdown">
"#topNavName#" #topNavURL#
</CFLOOP>
The Sothink product does all of the formatting etc.
Thanks, everyone, for the help. --Dbast