Sim,
Try using the CreateODBCDate function in your WHERE clause:
WHERE YourDate = #CreateODBCDate(Now())#
Chris
-----Original Message-----
From: Sim Graves [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 14, 2000 10:25 PM
To: [EMAIL PROTECTED]
Subject: Just Today
I feel so stupid asking this question but I just can't get it.
I want to use a WHERE clause in my query that looks at a date
field and returns just today's records. I tried DateCompare
among other
things but get an error in the WHERE clause. This is some
syntax thingy I guess.
Any examples would be appreciated. Right now I'm using a CFIF
statement and DateCompare in my CFOUTPUT but I feel so
embarrassed that I can't get it to work the right way.
Looking for your kindness.
Sim
----------------------------------------------------------------------------
--
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.