Claude Schneegans wrote:
> How about:
>      and YEAR >= #form.from_y# and YEAR <= #form.to_y#
>      and ((MONTH >= #form.from_m# and MONTH <= #form.to_m#) OR MONTH=0)
>      and ((DAY >= #form.from_d# and DAY <= #form.to_d#) OR DAY=0)

The problem with that is the same problem as the previous example I 
posted though.

Try searching for dates between 10/15/2006 and 04/14/2007

See the problem?


Yup, I've scr*wed myself on this one I believe!


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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:301969
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