>The error crops up when the loop encounters a field that has null data.  
>I am using ListFix, and i thought that this would solve the problem, but 
>it doesn't.  

My first response has not shown up yet, so I am reposting.

Are you certain your loop logic is correct? Should you not be splitting the 
file content on #newLine# and then using ListFix on each row

<cfloop list="#yourFileContent#" index="record" delimiter="#newLineCharacter#">
   ... skip 5 lines
   <cfset fixedList = ListFix(record)>
   <!--- do the insert query .... --->

</cfloop> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:299874
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to