I am creating a drop-down list of items, but I want to keep several items
from appearing in the drop-down.

Is there a more efficient way to accomplish this (there will be several more
exclusions):

<cfquery name=qCrop datasource="common_as">
SELECT DISTINCT 
        Description 
FROM    VCT 
ORDER BY 
        Description
WHERE   description != 'ANISE'
        AND description != 'APPLES'
        AND description != 'ASPARAGUS'
        AND description != 'BEETS'
        AND description != 'BROCCOLI'
</cfquery>

--
Jillian


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to