wouldn't this do the trick?: WHERE getZMA.Material NOT IN (#quotedvaluelist(getEQnum.sap_partnum)#)
Azadi Saryev Sabai-dee.com http://www.sabai-dee.com/ Paul Ihrig wrote: > ok... > wierd, i am only getting one result in my #getEQnum.sap_partnum# > i know there should be 36 results... > > <cfquery name="getNEQnum" dbtype="query"> > SELECT DISTINCT > getZMA.Material > FROM getZMA, getEQnum > WHERE getZMA.Material NOT IN ('#getEQnum.sap_partnum#') > </cfquery> > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:303070 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

