Couldn't you accomplish this with a group function?

i.e.

<cfquery name="yourquery" datasource="yourdb"
Select t1.itemid, t1.name, t1.desc, t2.categoryid
from    product t1, mapping t2
</cfquery>

<cfoutput query="yourquery" group="itemid">
#name# - #description# <cfoutput>#categoryid#</cfoutput>
</cfoutput>

I obviously can't test this, and I'm not sure this is exactly what you want,
but have you tried something like this?

d







************************************************************
Deanna Schneider
Interactive Media Developer
UWEX Cooperative Extension Electronic Publishing Group
103 Extension Bldg
432 N. Lake Street
Madison, WI 53706
(608) 265-7923



------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to