Assuming you've got dates in one of your fields, you can use
year(date_field) to get just the 4 digit year.  For a two digit year,
you could use right(year(date_field),2). 

> -----Original Message-----
> From: Orlini, Robert [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, October 10, 2006 9:41 AM
> 
> One more thing please.
> 
> How can I do a query search on just a certain year on this 
> #DateFormat( getlist.datetime, "mm/dd/yy" )#?
> 
> I want just records with the year 2005 or 05 (yy)

------------------------------------------------------------------------------
This transmission may contain information that is privileged, confidential 
and/or exempt from disclosure under applicable law. If you are not the intended 
recipient, you are hereby notified that any disclosure, copying, distribution, 
or use of the information contained herein (including any reliance thereon) is 
STRICTLY PROHIBITED. If you received this transmission in error, please 
immediately contact the sender and destroy the material in its entirety, 
whether in electronic or hard copy format. Thank you. 

==============================================================================
"EMF <idahopower.com>" made the previous annotations.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:256123
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to