Try this:

<CFLOOP index="yearCnt" from='2000' to='#currYear#'>


-----Original Message-----
From: Adrian Lynch [mailto:cont...@adrianlynch.co.uk] 
Sent: Friday, July 24, 2009 9:44 AM
To: cf-talk
Subject: RE: Converting Year to Integer



Right but something else is wrong.

Azadi's example is about as simple as it gets. Something else in your code
is causing the problem.

> -----Original Message-----
> From: N K [mailto:neetukais...@gmail.com]
> Sent: 24 July 2009 15:09
> To: cf-talk
> Subject: Re: Converting Year to Integer
> 
> 
> currYear with out codes and inside ## sign WORKS !!!
> <CFLOOP index="yearCnt" from='2000' to=#currYear#>
> 
> 
> NK
> 
> 
> >simple <CFLOOP index="yearCnt" from='2000' to='#year(now())#'> should 
> >work just fine.
> >
> >
> >Azadi Saryev
> >Sabai-dee.com
> >http://www.sabai-dee.com/
> >
> >
> >On 24/07/2009 21:31, N K wrote:
> >> <CFLOOP index="yearCnt" from='2000' to='currYear'>




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:324939
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to