Read first line of .csv file

Hi all,

I am using the plugin excel tools to import a csv file to db.

But after that I want to validate the headers just to see if the column names are the same defined in the db.

I tried the function

readexcelsheet(
excelDocument:local!doc,
sheetNumber:0,
startRow:0,
numberOfColumns: 10
) 

But I only got an error saying "evalution error at line ..."

Can someone tell me what I am doing wrong? maybe something regarding data?

Thanks in advance

  Discussion posts and replies are publicly visible