This line of code:
<cfset reportQuery.getWhere().isEqual("ARCommunity", "DATEPART(YYYY, timestamp)", "#attributes.reportYear#") />
Generates the following error:
The field 'DATEPART(YYYY, timestamp)' does not exist for the 'arCommunity' object.
If it is not obvious, I am trying to pull records from a specific year from a datetime field.
My questions are:
A. Is there a mistake in my code?
B. Am I trying to do something that Reator is not designed to do?
C. Is this a bug in Reactor?
Thanks!
Ray
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
- [Reactor for CF] Reactor and CF Functions Ray Buechler
- Re: [Reactor for CF] Reactor and CF Functions Mark Mazelin
- Re: [Reactor for CF] Reactor and CF Functions Ray Buechler
- Re: [Reactor for CF] Reactor and CF Functions Mark Mazelin
- Re: [Reactor for CF] Reactor and CF Functions Ray Buechler
- Re: [Reactor for CF] Reactor and CF Functions Daryl
- Re: [Reactor for CF] Reactor and CF Functions Ray Buechler
- Re: [Reactor for CF] Reactor and CF Functions Doug Sims

