At 12:12 PM 1/14/2003, you wrote:
>I was just curious as to rather or not there was a sql statement to do this
>with an access db like there is with sql server

Access is basically just a SQL engine and doesn't have the rich function 
library that MSSQL has.  Most of the function you use in Access when 
working with it in a desktop environment are VBA functions made available 
by Access GUI itself.  However, when query an Access database from CF (or 
any ODBC/OLEDB connection) these functions are not all available.

The VBA function for doing this is

DateAdd("h",-24,Now())

but I don't know if it will work when calling from CF.  Try it and see.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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