Ask a Question related to Coldfusion Database Access, Design and Development.
-
goc4christ #1
CFFILE ISSUES
Cant write new files with cffile without leaving first line blank!!
I am trying to write an application that would read data from a database into
a csv file.
The csv file is now used to feed another database system.
The issue is while writing into the file i use the following method:
<cffile action="WRITE" file="#variabl#" output=" " addnewline="Yes">
this was supposed to take care and ensure that after looping through the query
record set the new file being written wont overwrite the last.
<cfloop query="getdata2">
<cffile action="APPEND" file="#CSVDfile#"
output="000000000#cod_cc_brn#,0000000#trim(cod_acc t_no)#,#nutitle#,#DATEFORMAT(n
ow()-1" addnewline="Yes">
</cfloop>
Issue is if i dont put the initial line the file is appended over and over
again for different loop scenarios, rather than at a single time only.
Kindly assist guys my deadline has long lapsed --HEEEEEEELLLLPPPPP!!!!!
GOC.
goc4christ Guest
-
cffile with flv
I need to set the file to allow uploading of an flv file into an Access database. How do I do this. I know it's using the accept parameter, but what... -
USING CFFILE
I am appending data from query to text file.The number of records appended approximately are about 35000 records.I wrote the code in the format... -
need help with cffile
I am having some trouble with cffile - i am trying to uplaoad a few files in a form and rename them to be inserted into the database - the problem... -
cffile + Win IE issues
I've built a form where the visitor inputs a bit of copy into a text area, answers a couple of questions, browses their computer for an image to... -
CFFILE on PC and Mac
So I've been looking at the suggested solution mentioned by Fug. It looks like it might work, but it is 400+ lines of code and will take a bit of...



Reply With Quote

