Hello,

I'm still a newbie on GT and LT searches. My "rough" and partial code below
is what I want to search between two date ranges. For instance 01-jun-00 to
01-apr-01. Is there an easier way in CF?

Any help appreciated.

Robert O.

-----------

<CFSET Startdate = "#startdate#">
<CFSET Enddate = "#enddate#">

<CFQUERY name="getwweb" datasource="wwebsales">
SELECT * FROM wwebsales

<CFIF #FORM.orderdate# IS NOT "">
        Where startdate EQ orderdate and enddate GTE startdate

</CFIF>

</cfquery>


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to