Cfpsreadsheet read strangeness


i have spreadsheet update , process.

it has numbers on top row use index.

i asked remove number row causing problems when people don't renumber top row properly, when do, dat gets inported ver strangely - columns duplicated , others totally left out.

 

here pictures of top few rows of spreadsheet , dump of query produced cfspreadsheet read.

the top 1 has rows , works.

the second set not.

excelworks.png

importworks.png

the same spreadsheet no top numbers produces - first record department number  duplicated 6 times instead of 1 column each column in spreadsheet:

 

 

importfails.png

<cfelseif isdefined('uploaddatatype') , uploaddatatype 'xxx'>

     <cfspreadsheet action="read" src="#thefile#" sheetname = "xxxdata" query="xxxdata" headerrow="1"   >

    </cfif>

 

any suggestions on how correct appreceated. have tried both including anx excluding header row same results.

thanks



More discussions in ColdFusion


adobe

Comments

Popular posts from this blog

Adobe Acrobat Pro , Terminal Server Use

Thread: transmission-daemon isn't playing nice: "409: Conflict"

Thread: gpg: Conflicting Commands