the only time i remember a cfloop getting confused wa when it was inside a cfoutput of another query and there was column name duplication in the outer and inner queries. when i have a cfloop inside a cfoutput of another query i usually set explicit vars for outer query's values i need to use in the cfloop AND fully qualify the looped query vars as #loopedqueryname.columnname# instead of using just #columnname#
hth Azadi Saryev Sabai-dee.com http://www.sabai-dee.com/ Richard White wrote: > yeah i think your right, thanks, i will def post if i see the problem again > > thanks again for your advice > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312518 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

