Try #createODBCDate(form.start_date)#
And #createODBCDate(form.end_date)#
....no quotes

There are also other ways... like...

Where Client_Birthday BETWEEN #createODBCDate(form.start_date)# AND
#createODBCDate(form.end_date)#

I cant remember if that actually includes the start and end date as being
BETWEEN them.. but if not, just use dateadd 1 and -1 on them

..:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com

 

 

-----Original Message-----
From: Michael E. Carluen [mailto:[EMAIL PROTECTED] 
Sent: Sunday, July 30, 2006 8:12 PM
To: CF-Talk
Subject: RE: Anyone see anything wrong with this code?

 
>            where Client_Birthdate >= '#Form.Start_Date#'
>              and Client_Birthdate <= '#Form.End_Date#'

Rick, Try using <cfqueryparam> on the dates.




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:248190
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to