Are you getting an error or is it just not doing anything?  I think you 
need some kind of delimiter in your cfloop tag.

Orlini, Robert wrote:
> How can I specify the current date value in a search for a date text in a txt 
> file?
>
> The date I need to be dynamic is in bold below. I tried a <cfset todayDate = 
> Now()> and then putting #DateFormat(todaydate, "mm/dd/yy")# into the field 
> between the quotes, but no luck.
>
> Any ideas please?
>
> Thx.
>
> Robert O.
> HWW
>
> My code:
>
> <cffile file="c:\cfusion\log\mailsent.log" action="read" variable="x">
>
> <cfloop index="i" list="#x#" delimiters="">
>
> <cfoutput>
> <cfset a = listtoarray(i)>
> <cfif a[3] eq '"09/14/06"'>
> date: #a[3]# - time: #a[4]# - #Left(a[6],20)#...<br>
> </cfoutput>
> </cfif>
> </cfloop>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:253161
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