Question
CFFILE Read
I am using cffile to read a text file and this is what I have
so far and it works :
<cffile action="Read"
file="d:\webserve\esscm\datasource\source_code.txt"
variable="Message">
<cfoutput>#message#</cfoutput>
This just gives me one line per record but each record contains different fields and that is what I really need.
How do I break the variables up to be mulitples so that each one will be inserted into the proper column ? For example, col 1-5 is one column/field, col 6-20, is another column/field, etc. If I can break it up individually, then I can insert each into the table.
<cffile action="Read"
file="d:\webserve\esscm\datasource\source_code.txt"
variable="Message">
<cfoutput>#message#</cfoutput>
This just gives me one line per record but each record contains different fields and that is what I really need.
How do I break the variables up to be mulitples so that each one will be inserted into the proper column ? For example, col 1-5 is one column/field, col 6-20, is another column/field, etc. If I can break it up individually, then I can insert each into the table.