In my application I've ran into a problem..
cffile action=WRITE file=#g_EcountFileDirectory#\#eCountFilename#
output=#ecount_header# addnewline=Yes
cfloop query=fetchReferrals
cffile action=APPEND
file=#g_EcountFileDirectory#\#eCountFilename# output=#record_data#
addnewline=Yes
/cfloop
cffile
-Original Message-
From: Greg Morphis [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 23 November 2004 9:01 a.m.
To: CF-Talk
Subject: line breaks in files..
In my application I've ran into a problem..
cffile action=WRITE file=#g_EcountFileDirectory#\#eCountFilename#
output=#ecount_header
a.m.
To: CF-Talk
Subject: line breaks in files..
In my application I've ran into a problem..
cffile action=WRITE file=#g_EcountFileDirectory#\#eCountFilename#
output=#ecount_header# addnewline=Yes cfloop
query=fetchReferrals
cffile action=APPEND
file=#g_EcountFileDirectory
Are these line breaks in the output file, or are they just when the output file
is read into IE?
--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA
C code. C code run. Run code run. Please!
- Cynthia Dunning
Confidentiality Notice: This message
they're suppose to be in the output file.. not in IE..
when using the chr() notation I see the acsii character for where an
enter should be, the box but it doesnt create the line break... just
shows the character
On Mon, 22 Nov 2004 14:12:48 -0800, Ian Skinner
[EMAIL PROTECTED] wrote:
Are these
Can you provide an example of a couple of lines of the output? You might try
not providing any line breaks in your output to the append line. I have a
vague memory that each append call creates it's own line break.
--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
I'm a little confused. Your first post said IE then showed
output with extra linefeeds. Did you mean IE as in for example,
or IE as in Internet explorer output? You shouldn't see linebreaks
in HTML output unless you enclose them in PRE tags, or use some
other method. You should see them in
I'm not sure if they do or not but I finally got it by using this...
I was formatting it using my SQL so at the end of the row I'd add a line break..
|| chr(10), anyways I removed that and changed the addnewline argument
back to yes.
It outputs correctly.. only took me the entire day to fix this..
no I didnt mean IE as in Internet Explorer, I said IE. as in i.e.:
latin meaning that is..
It's finally fixed... the order by got me..
The code I had worked in dev but didnt in prod.. the order by was messed up.
Same data, same CF code, but in dev the code was outputting correctly,
in prod it
9 matches
Mail list logo