macromedia.coldfusion.advanced_techniques
[Top] [All Lists]

Re: Cfheader and cfcontent question

Subject: Re: Cfheader and cfcontent question
From: "apocalipsis19"
Date: Tue, 10 Mar 2009 15:45:28 +0000 UTC
Newsgroups: macromedia.coldfusion.advanced_techniques

This is my code to add the content of the generated txt file:

 <cfoutput>
 <cfloop index="idx" from="1" to="#getFields.recordcount#">
 
#Trim(getFields.email[idx])#|#Trim(getFields.firstname[idx])#|#Trim(getFields.la
stname[idx])#|#Trim(getFields.postalcode[idx])#|#Trim(getFields.campaign[idx])#|
#DateFormat(getFields.firstordd[idx],'MM/DD/YYYY 
hh:mm:ss:l')#|#getFields.firstordamt[idx]#|#DateFormat(getFields.lastordd[idx],'
MM/DD/YYYY 
hh:mm:ss:l')#|#getFields.lastordamt[idx]#|#getFields.htdordcnt[idx]#|#getFields.
htdordtot[idx]#|#getFields.annualordcnt[idx]#|#getFields.annualordtot[idx]##Chr(
13)##Chr(10)#
                <cfset flagList = "">
        </cfloop>
        </cfoutput>


<Prev in Thread] Current Thread [Next in Thread>