On Thu, Sep 16, 2010 at 12:04 AM, Paul Hastings <[email protected]> wrote:
>
> On 9/16/2010 2:45 AM, Rick Root wrote:
>> http://www.opensourcecf.com/1/2010/09/Example-of-using-JavaCSV-CSVReader-class-to-read-CSV-files.cfm
>
> pretty sure the numeric columns for csvReader are 0 based (ie 1st column is
> referenced as 0 not 1).
>
> yes, i'm too lazy to register on your blog.
I like it that way ;)
You're right, this line:
<cfset val = fileInput.get(javacast("int",col))>
should be
<cfset val = fileInput.get(javacast("int",col-1))>
Rick
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive:
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337106
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm