|
|
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>
|
|