Yeah, the function is an Access function, just has the same name as CF. I thought maybe the Yes/No column was throwing it off initially and tried a cfqueryparam on that one but it helped none. I did not play with the date though and will see if maybe that is the root of it.
On Thu, Sep 11, 2008 at 7:35 PM, Matt Quackenbush <[EMAIL PROTECTED]>wrote: > No problem with using DateDiff() as he is using it, since it is not > surrounded by #. It has been a bazillion years since I've used Access, but > as I recall, that particular error message has something to do with a lack > of quotes (e.g. 'foo') on a field that the driver wants them on. Maybe the > date field? Can't remember for sure. > > > On Thu, Sep 11, 2008 at 7:28 PM, Mike Little wrote: > > > at a rough guess, i suspect that you cannot use an explicit cf function > > such as datediff in the query. > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312398 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

