How define data type fiels excel ?

0

Hi

When i use Excel or csv file as data source, everytime jasper studio tell me for exemple :

net.sf.jasperreports.engine.JRException: Unable to get value for Excel field "Année de naissance" of class java.lang.Integer.

In excel field the "Annee de naissance" is numbre datas (exple: 2017, 2018....)

Why is not work

Thanks to help me !

rikiti's picture
21
Joined: Jan 18 2018 - 9:46am
Last seen: 2 years 5 days ago

2 Answers:

0

Possibly its reading the first row which is column header. Try checking on the 'Skip the first line' option

vchiem's picture
8515
Joined: May 1 2017 - 5:33pm
Last seen: 8 hours 28 min ago
0

How do you skip the first row if thats contains headers? Is it in the data adapter setting?

jkeri's picture
142
Joined: Mar 15 2013 - 12:17pm
Last seen: 1 year 2 months ago
Feedback
randomness