How do I implement a search of two different values in one field?

I want to search for floors 3 and 4 in the field named "floor" and display a 
report. Then html form uses checkboxes for each floor.

Here is my previous search statement with one floor per search; how can I 
modify it? Thanks!

<cfquery name="Getfloor" datasource="inventory">
SELECT * FROM inventory where 0 = 0

<CFIF IsDefined("FORM.floor") and form.floor NEQ ""> 
        And floor = '#trim(form.floor)#'
</CFIF>
</cfquery>

Robert Hww


-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 267.14.19/231 - Release Date: 1/16/2006
 


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:229794
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to