Have you tried something like this (not sure about the inner join clause, since I don't know what your db schema really is - I'm guessing there). SELECT P.id <http://p.id/>, P.Number, P.TheYear, P.Price, P.ShortDesc, P.LongDesc, P.Status, P.width, P.height, P.Weight, t.type, CASE WHEN TYPEIDFK = 1 then 'category' WHEN typeidfk = 3 THEN 'claybody' WHEN typeidfk = 5 THEN 'glaze' WHEN typeidfk = 2 THEN 'firekind' WHEN typeidfk = 4 THEN 'color' END AS type_type, P.price, P.Owner FROM Pottery P LEFT JOIN PotteryPictures PP ON P.ID <http://p.id/> = PP.PotteryID INNER JOIN TYPE on p.id = t.PotteryIDFK WHERE p.id = 27
This isn't going to get you the comma delimited list that you want. But, it should theoretically get you a result set that you can work with via grouping in CF. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227118 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

