And failing that, post all your code... > -----Original Message----- > From: Dave Sueltenfuss [mailto:dsueltenf...@gmail.com] > Sent: 24 July 2009 14:56 > To: cf-talk > Subject: Re: Converting Year to Integer > > > Have you tried outputing your currYear variable, to make sure it is > what you > expect? > > On Fri, Jul 24, 2009 at 9:47 AM, N K <neetukais...@gmail.com> wrote: > > > > > Yes thats a typo in my email.Adding ## sign does not help .... > > > > The error coming up is > > Attribute validation error for the CFLOOP tag. > > The value of the TO attribute is invalid. The value cannot be > converted to > > a numeric because it is not a simple value.Simple values are > booleans, > > numbers, strings, and date-time values. > > > > > > Thank You > > NK > > > > >Is Year((now)) a typo in your email? > > > > > >If not, try Year(Now()) and you will need the #'s in the to > attribute of > > >cfloop. > > > > > >Adrian
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:324931 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4