This would be SQL Server specific though, right? Unfortunately, this app is using 
Access.

>You could try something like....
>
>
><CFQUERY name="findRecent" datasource="Categories">
>       SELECT * 
>       FROM Links 
>       WHERE DateAdded BETWEEN <CFQUERYPARAM
>VALUE="#CreateODBCDateTime(DateAdd('d', -3, Now()))#"
>SQLTYPE="CF_SQL_TIMESTAMP"> AND <CFQUERYPARAM VALUE="#Now()#"
>SQLTYPE="CF_SQL_TIMESTAMP">
>               AND approve=1
>       ORDER BY DateAdded DESC
></cfquery>  
>
>
>Or something like that
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to