|
Hi, It seems that HSSF POI has it's limits. I have an physical file with the following fields: EU0001 to EU0224. In the file, I have 108 records. In the spreadsheet I want to update, I have two text coloums (row 0 and 1). Hereafter all the records are updated from row 2 to 109 in the sheet, with the following line: Row = HSSFSheet_getRow(Sheet: RowCount) - (RowCount=10i 0) When record no. 106 (third last record) is updated Row has a value of 56.082 and RowCount a value of 107. When record no. 107 (second last record) is updated Row has a value of 56.616 and RowCount a value of 108. When record no. 108 (the last record) is updated Row has a value of 0 (zero) and RowCount a value og 109 - and the program dumps. I know why.... (calculating: 56.616 + 534= 57.150) because of an integer overflow in HSSFRow (jInt) Any hints for using a double Integer (jDouble) in HSSFSheet_getRow() or another method ??? Scott and others..... please..... :-) OS/400 5.2 Excel 2002 SP3 HSSF POI Last final version. Best regards, Leif
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.