On Mon, Apr 6, 2009 at 2:02 PM, Dave Long <d...@northgoods.com> wrote:

>
>
Also use valuelist which means you don't need to create a list first.

<CFQUERY name="GetResidential" dataSource="#DSN1#">
    SELECT MLS_Number
    FROM Residential
    WHERE List_Firm = #FirmID#
    AND MLS_Number NOT IN (<cfqueryparam cfsqltype="cf_sql_integer"
value="#ValueList(GetRecord.MLS_number)#" list="yes">)
    ORDER BY MLS_Number
 </CFQUERY>

-- 
Casey


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321351
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to